From 07cc0aa13e1165b1665ed3043e1659bec78b8f3f Mon Sep 17 00:00:00 2001 From: kid 10 Date: Thu, 14 Jul 2011 03:29:17 +0400 Subject: [PATCH] [11737] Fixed use ".gobject move" with implicit player coordinates. Signed-off-by: VladimirMangos By unknown reason added in last weeks or longer period gameobject visually moved only after relogin. GO removed from client view and readded at same place _but_ have and send to client new coordinates as debuged. This problem researched and not comnnected directly with fixed bug. --- src/game/Level2.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/Level2.cpp b/src/game/Level2.cpp index f3a2b84e9..0fbfab1a0 100644 --- a/src/game/Level2.cpp +++ b/src/game/Level2.cpp @@ -992,7 +992,7 @@ bool ChatHandler::HandleGameObjectMoveCommand(char* args) return false; } - if (!args) + if (!*args) { Player *chr = m_session->GetPlayer(); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 1860994c8..8481f851c 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 "11736" + #define REVISION_NR "11737" #endif // __REVISION_NR_H__