*Temp fix for crash caused by AV creature. Need to find a way to allow summoned creatures to use RandomMovement.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-19 16:07:00 -06:00
parent cebaa3a703
commit d93bc9c853
+1 -1
View File
@@ -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();