From 4e130dcdfdd30b84fb5e0b0531c817c7b6c64ff9 Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 8 Jun 2009 17:25:02 -0500 Subject: [7980] Implement item use target requirements store and check (new table `item_required_target`). Author: NoFantasy Signed-off-by: VladimirMangos * Also implement this table reload * Static Spell::SendCastResult function for call not from spell code. Can be also used in scripts where need send explicitly spell cast error to client. --HG-- branch : trunk --- src/game/World.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/World.cpp') diff --git a/src/game/World.cpp b/src/game/World.cpp index 7412a7a282c..5ab3c46a036 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -1252,6 +1252,9 @@ void World::SetInitialWorldSettings() sLog.outString( "Loading SpellsScriptTarget..."); spellmgr.LoadSpellScriptTarget(); // must be after LoadCreatureTemplates and LoadGameobjectInfo + sLog.outString( "Loading ItemRequiredTarget..."); + objmgr.LoadItemRequiredTarget(); + sLog.outString( "Loading Creature Reputation OnKill Data..." ); objmgr.LoadReputationOnKill(); -- cgit v1.2.3