aboutsummaryrefslogtreecommitdiff
path: root/src/game/World.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-17 17:40:03 -0600
committermegamage <none@none>2009-02-17 17:40:03 -0600
commita24928be67da1cffd433c6bd40564ebfd55b1d9d (patch)
treef50ac4f59d40a59d2195848ab9a7a54de700880f /src/game/World.cpp
parent68cfb7c5a492ca1cc691cce831421af98bd6fe45 (diff)
[7292] Implement storage for points of interest data in DB.
It can be in current state used for simplify scripting code that set POI and more advansed way later.. Call void PlayerMenu::SendPointOfInterest( float X, float Y, uint32 Icon, uint32 Flags, uint32 Data, char const * locName ) will removed after some time delay, and only void PlayerMenu::SendPointOfInterest( uint32 poi_id ) will exist. Author: GriffonHeart --HG-- branch : trunk
Diffstat (limited to 'src/game/World.cpp')
-rw-r--r--src/game/World.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp
index bad4eeef0c2..d1a10078efc 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -1131,6 +1131,7 @@ void World::SetInitialWorldSettings()
objmgr.LoadNpcTextLocales();
objmgr.LoadPageTextLocales();
objmgr.LoadNpcOptionLocales();
+ objmgr.LoadPointOfInterestLocales();
objmgr.SetDBCLocaleIndex(GetDefaultDbcLocale()); // Get once for all the locale index of DBC language (console/broadcasts)
sLog.outString( ">>> Localization strings loaded" );
sLog.outString();
@@ -1195,6 +1196,9 @@ void World::SetInitialWorldSettings()
sLog.outString( "Loading Creature Reputation OnKill Data..." );
objmgr.LoadReputationOnKill();
+ sLog.outString( "Loading Points Of Interest Data..." );
+ objmgr.LoadPointsOfInterest();
+
sLog.outString( "Loading Pet Create Spells..." );
objmgr.LoadPetCreateSpells();