diff options
author | Machiavelli <none@none> | 2009-06-11 17:56:20 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2009-06-11 17:56:20 +0200 |
commit | 1c97b2bf796fb367b77e653556220e69cf7b5878 (patch) | |
tree | ffaa612c7502785edc750a664ebc2253c41e4f5c /src/game/Level2.cpp | |
parent | 6eaf6e962a31aa308406289d538aef30a56b95cb (diff) | |
parent | 6c069aa5b8405d51202781104daf5c6e8642b891 (diff) |
Merge
--HG--
branch : trunk
Diffstat (limited to 'src/game/Level2.cpp')
-rw-r--r-- | src/game/Level2.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game/Level2.cpp b/src/game/Level2.cpp index 12727bd6f82..1c79a875e14 100644 --- a/src/game/Level2.cpp +++ b/src/game/Level2.cpp @@ -694,9 +694,6 @@ bool ChatHandler::HandleGameObjectMoveCommand(const char* args) map->Remove(obj,false); obj->Relocate(chr->GetPositionX(), chr->GetPositionY(), chr->GetPositionZ(), obj->GetOrientation()); - obj->SetFloatValue(GAMEOBJECT_POS_X, chr->GetPositionX()); - obj->SetFloatValue(GAMEOBJECT_POS_Y, chr->GetPositionY()); - obj->SetFloatValue(GAMEOBJECT_POS_Z, chr->GetPositionZ()); map->Add(obj); } @@ -720,9 +717,6 @@ bool ChatHandler::HandleGameObjectMoveCommand(const char* args) map->Remove(obj,false); obj->Relocate(x, y, z, obj->GetOrientation()); - obj->SetFloatValue(GAMEOBJECT_POS_X, x); - obj->SetFloatValue(GAMEOBJECT_POS_Y, y); - obj->SetFloatValue(GAMEOBJECT_POS_Z, z); map->Add(obj); } |