diff --git a/src/server/scripts/Commands/cs_go.cpp b/src/server/scripts/Commands/cs_go.cpp index a46bd901f..6780b042c 100644 --- a/src/server/scripts/Commands/cs_go.cpp +++ b/src/server/scripts/Commands/cs_go.cpp @@ -352,7 +352,7 @@ public: float x = locationValues[0]; float y = locationValues[1]; - if (mapId == MAPID_INVALID) + if (!sMapStore.LookupEntry(mapId)) { handler->SendErrorMessage(LANG_INVALID_TARGET_COORD, x, y, mapId); return false;