1
This commit is contained in:
parent
609dc6ed88
commit
6ed267ab5c
@ -16,7 +16,9 @@ Position BornPoint::RandPoint(Room* room) const
|
|||||||
pos.SetZ(5120.000000000000);
|
pos.SetZ(5120.000000000000);
|
||||||
}
|
}
|
||||||
if (room->IsSandTableRoom()) {
|
if (room->IsSandTableRoom()) {
|
||||||
|
pos.SetX(60 + rand() % ((int)room->GetMapMeta()->map_width() - 100));
|
||||||
|
pos.SetY(6.250846862793);
|
||||||
|
pos.SetZ(60 + rand() % ((int)room->GetMapMeta()->map_height() - 100));
|
||||||
}
|
}
|
||||||
return pos;
|
return pos;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user