diff options
| author | ariel- <ariel.silva305@gmail.com> | 2015-03-19 06:08:27 -0300 |
|---|---|---|
| committer | ariel- <ariel.silva305@gmail.com> | 2015-03-19 06:08:27 -0300 |
| commit | 461daadcaf0cafa410c740e6376090c27a1df8ff (patch) | |
| tree | 914be24f156f34687e3f2daeb6c19de6a7e15037 /src/server/scripts | |
| parent | 2ac40775a2b915e2315198d7ca66944384fc5d16 (diff) | |
Split up LANG_MAP_POSITION to fix a crash when issuing .gps command
Diffstat (limited to 'src/server/scripts')
| -rw-r--r-- | src/server/scripts/Commands/cs_misc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_misc.cpp b/src/server/scripts/Commands/cs_misc.cpp index 0e86823aa7c..dea2a5216e7 100644 --- a/src/server/scripts/Commands/cs_misc.cpp +++ b/src/server/scripts/Commands/cs_misc.cpp @@ -237,7 +237,8 @@ public: zoneId, (zoneEntry ? zoneEntry->area_name[handler->GetSessionDbcLocale()] : unknown), areaId, (areaEntry ? areaEntry->area_name[handler->GetSessionDbcLocale()] : unknown), object->GetPhaseMask(), - object->GetPositionX(), object->GetPositionY(), object->GetPositionZ(), object->GetOrientation(), + object->GetPositionX(), object->GetPositionY(), object->GetPositionZ(), object->GetOrientation()); + handler->PSendSysMessage(LANG_GRID_POSITION, cell.GridX(), cell.GridY(), cell.CellX(), cell.CellY(), object->GetInstanceId(), zoneX, zoneY, groundZ, floorZ, haveMap, haveVMap, haveMMap); |
