*Some creature display id update. By VladimirMangos and GriffonHeart

--HG--
branch : trunk
This commit is contained in:
megamage
2009-06-15 18:02:12 -05:00
parent b7d218febc
commit 572a9191d9
14 changed files with 197 additions and 128 deletions
+1
View File
@@ -1408,6 +1408,7 @@ void GameEventMgr::ChangeEquipOrModel(int16 event_id, bool activate)
CreatureModelInfo const *minfo = objmgr.GetCreatureModelRandomGender(display_id);
if (minfo)
display_id = minfo->modelid;
if (data2->equipmentId == 0)
itr->second.equipement_id_prev = cinfo->equipmentId;
else if (data2->equipmentId != -1)