mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +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_x = obj->GetPositionX();
|
||||||
float zone_y = obj->GetPositionY();
|
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_x = 0;
|
||||||
zone_y = 0;
|
zone_y = 0;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9431"
|
#define REVISION_NR "9432"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue