This commit is contained in:
aozhiwei 2023-05-19 16:27:25 +08:00
parent 609dc6ed88
commit 6ed267ab5c

View File

@ -16,7 +16,9 @@ Position BornPoint::RandPoint(Room* room) const
pos.SetZ(5120.000000000000);
}
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;
}