aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectMgr.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-22 16:38:55 -0500
committermegamage <none@none>2009-05-22 16:38:55 -0500
commitc31fc2780bfef4349d239f6f19d0904b24a347ee (patch)
tree1e4460ef273fd77c1f1b0119a73008997ad3dd71 /src/game/ObjectMgr.cpp
parentceaf8c13bbf9dbe407d48bc489c0fc02e7e6aef4 (diff)
[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
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r--src/game/ObjectMgr.cpp4
1 files changed, 2 insertions, 2 deletions
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)