mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 04:37:16 +00:00
Fix zone startup crash if maps not installed
This commit is contained in:
1 parent
0f5a7e1317
commit
896dd48960
3 files changed
+5
-3
No files matched your search
+1
-1
@@ -463,7 +463,7 @@ void Object::RandomSpawn(bool send_packet) {
|
||||
m_data.x = zone->random.Real(m_min_x, m_max_x);
|
||||
m_data.y = zone->random.Real(m_min_y, m_max_y);
|
||||
|
||||
if(m_data.z == BEST_Z_INVALID) {
|
||||
if (m_data.z == BEST_Z_INVALID && zone->HasMap()) {
|
||||
glm::vec3 me;
|
||||
me.x = m_data.x;
|
||||
me.y = m_data.y;
|
||||
|
||||
Reference in new issue
Block a user