diff --git a/server/gameserver/room.cc b/server/gameserver/room.cc index 05dd1dda..3842dbf5 100644 --- a/server/gameserver/room.cc +++ b/server/gameserver/room.cc @@ -3717,6 +3717,8 @@ void Room::CreateWorldObjects() break; case 2: { + #ifdef DEBUG + #else const mt::Hero* hero_meta = mt::Hero::GetById(std::get<1>(tuple)); if (hero_meta) { Position hero_pos; @@ -3733,6 +3735,7 @@ void Room::CreateWorldObjects() dir, team_id); } + #endif } break; default: