[7870] Implement creature ranged ammo show at ranged weapon use. Author: VladimirMangos

* Use BDC data (creature weapon not alwas listed in item_template)

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-05-22 16:38:55 -05:00
1 parent ceaf8c13bb
commit c31fc2780b
4 files changed
+38 -5

No files matched your search

+2 -2
View File
@@ -866,8 +866,8 @@ void ObjectMgr::LoadEquipmentTemplates()
sLog.outString( ">> Loaded %u equipment template", sEquipmentStorage.RecordCount );
sLog.outString();
// This DBC is currently only used for item templates and creature equipments checks.
sItemStore.Clear();
// Creature items can be not listed in item_template
//sItemStore.Clear(); -- so used in spell casting
}
CreatureModelInfo const* ObjectMgr::GetCreatureModelInfo(uint32 modelid)