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

* Use BDC data (creature weapon not alwas listed in item_template)
This commit is contained in:
VladimirMangos 2009-05-22 06:06:20 +04:00
parent b708cc87a3
commit 3b11d833c8
5 changed files with 39 additions and 6 deletions

View file

@ -787,8 +787,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)