mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[9432] Propertly show zone coords in .gps after recent changes.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
548a656a76
commit
ebee99c396
2 changed files with 2 additions and 2 deletions
|
|
@ -294,7 +294,7 @@ bool ChatHandler::HandleGPSCommand(const char* args)
|
|||
float zone_x = obj->GetPositionX();
|
||||
float zone_y = obj->GetPositionY();
|
||||
|
||||
if (Map2ZoneCoordinates(zone_x,zone_y,zone_id))
|
||||
if (!Map2ZoneCoordinates(zone_x, zone_y, zone_id))
|
||||
{
|
||||
zone_x = 0;
|
||||
zone_y = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue