From 9d670fe6f5757430d575081db9a6e5273400330d Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 11 Jun 2009 00:45:59 -0500 Subject: *Switch to support client version 3.1.3 *I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash. Source: Mangos Thanks to TOM_RUS for most work to make this switch possible ;) --HG-- branch : trunk --- src/game/Level2.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/game/Level2.cpp') 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); } -- cgit v1.2.3