*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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user