* Prevent totems from having random models.

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2009-10-06 00:16:55 +02:00
parent ea4bac68f3
commit c7ca414af8
+1 -1
View File
@@ -729,7 +729,7 @@ bool Creature::Create(uint32 guidlow, Map *map, uint32 phaseMask, uint32 Entry,
}
LoadCreaturesAddon();
CreatureModelInfo const *minfo = objmgr.GetCreatureModelRandomGender(GetNativeDisplayId());
if (minfo) // Cancel load if no model defined
if (minfo && !isTotem()) // Cancel load if no model defined or if totem
{
uint32 display_id = minfo->modelid; // it can be different (for another gender)