[9432] Propertly show zone coords in .gps after recent changes.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
patman128 2010-02-21 03:41:43 +03:00 committed by VladimirMangos
parent 548a656a76
commit ebee99c396
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9431"
#define REVISION_NR "9432"
#endif // __REVISION_NR_H__