From 12ccecf756d2d9d4b647db7d225ad4d23cd495fb Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Wed, 25 Jul 2018 18:17:01 +0200 Subject: [PATCH] Scripts/Commands: fixed a crash in .gobject near command --- src/server/scripts/Commands/cs_gobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/scripts/Commands/cs_gobject.cpp b/src/server/scripts/Commands/cs_gobject.cpp index 7b68264316f..f4354e6b741 100644 --- a/src/server/scripts/Commands/cs_gobject.cpp +++ b/src/server/scripts/Commands/cs_gobject.cpp @@ -563,7 +563,7 @@ public: if (!gameObjectInfo) continue; - handler->PSendSysMessage(LANG_GO_LIST_CHAT, guid, entry, guid, gameObjectInfo->name.c_str(), x, y, z, mapId); + handler->PSendSysMessage(LANG_GO_LIST_CHAT, guid, entry, guid, gameObjectInfo->name.c_str(), x, y, z, mapId, "", ""); ++count; } while (result->NextRow());