[9760] Add missing argument causing crash using .list obj, after change in [9663]

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-04-18 15:21:57 +02:00
parent 7f90b8955e
commit 73475d0dc0
2 changed files with 2 additions and 2 deletions

View file

@ -2572,7 +2572,7 @@ bool ChatHandler::HandleListObjectCommand(const char* args)
int mapid = fields[4].GetUInt16(); int mapid = fields[4].GetUInt16();
if (m_session) if (m_session)
PSendSysMessage(LANG_GO_LIST_CHAT, guid, guid, gInfo->name, x, y, z, mapid); PSendSysMessage(LANG_GO_LIST_CHAT, guid, gInfo->id, guid, gInfo->name, x, y, z, mapid);
else else
PSendSysMessage(LANG_GO_LIST_CONSOLE, guid, gInfo->name, x, y, z, mapid); PSendSysMessage(LANG_GO_LIST_CONSOLE, guid, gInfo->name, x, y, z, mapid);
} while (result->NextRow()); } while (result->NextRow());

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "9759" #define REVISION_NR "9760"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__