From c31fc2780bfef4349d239f6f19d0904b24a347ee Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 22 May 2009 16:38:55 -0500 Subject: [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 --- src/game/ObjectMgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/ObjectMgr.cpp') diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index ca3b35a1cf3..87e7d10bdcb 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -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) -- cgit v1.2.3