From ebee99c3966db4bd11f82a7428f28b5107c00649 Mon Sep 17 00:00:00 2001 From: patman128 Date: Sun, 21 Feb 2010 03:41:43 +0300 Subject: [PATCH] [9432] Propertly show zone coords in .gps after recent changes. Signed-off-by: VladimirMangos --- src/game/Level1.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/Level1.cpp b/src/game/Level1.cpp index b2529aecf..93f5aeb25 100644 --- a/src/game/Level1.cpp +++ b/src/game/Level1.cpp @@ -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; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 2648b82f6..5f9302b33 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9431" + #define REVISION_NR "9432" #endif // __REVISION_NR_H__