*Better method for choosing a random model on respawn (should no longer show opposite faction models)

*Attempt to make it so creatures: don't help players or units controlled or owned by players; and don't help if the unit is fleeing from the enemy player

--HG--
branch : trunk
This commit is contained in:
maximius
2009-09-27 15:14:25 -07:00
parent 49e315931d
commit fd55684873
2 changed files with 28 additions and 20 deletions
+2 -3
View File
@@ -236,9 +236,8 @@ struct CreatureInfo
uint32 MechanicImmuneMask;
uint32 flags_extra;
uint32 ScriptID;
uint32 GetRandomValidModelIdIncludingNativeId(uint32 native_id) const;
uint32 GetRandomValidModelId() const;
uint32 GetFirstValidModelId() const;
uint32 GetRandomValidModelId() const;
uint32 GetFirstValidModelId() const;
// helpers
SkillType GetRequiredLootSkill() const