aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-19 16:07:00 -0600
committermegamage <none@none>2008-12-19 16:07:00 -0600
commitd93bc9c85378108e17fd5c111b274c4238186547 (patch)
treeaf5c53623924402ae54266ba11c64d91fa87229e /src
parentcebaa3a703f36efeedc5fd786b6eacb7a93585c2 (diff)
*Temp fix for crash caused by AV creature. Need to find a way to allow summoned creatures to use RandomMovement.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/BattleGroundAV.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/BattleGroundAV.cpp b/src/game/BattleGroundAV.cpp
index 63511c87111..27cd169ffc3 100644
--- a/src/game/BattleGroundAV.cpp
+++ b/src/game/BattleGroundAV.cpp
@@ -280,7 +280,7 @@ Creature* BattleGroundAV::AddAVCreature(uint16 cinfoid, uint16 type )
data.spawndist = 5;
}
//else spawndist will be 15, so creatures move maximum=10
- creature->SetDefaultMovementType(RANDOM_MOTION_TYPE);
+ //creature->SetDefaultMovementType(RANDOM_MOTION_TYPE);
creature->GetMotionMaster()->Initialize();
creature->setDeathState(JUST_DIED);
creature->Respawn();