From 7b155f111daf5d7ae477b16d0f0789b1113bea74 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 6 Jun 2012 00:04:33 +0300 Subject: Fix some issues after auto checking. --- src/actorspritemanager.cpp | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'src/actorspritemanager.cpp') diff --git a/src/actorspritemanager.cpp b/src/actorspritemanager.cpp index 0161b6890..dbd9c6692 100644 --- a/src/actorspritemanager.cpp +++ b/src/actorspritemanager.cpp @@ -181,17 +181,16 @@ class SortBeingFunctor } beingSorter; ActorSpriteManager::ActorSpriteManager() : - mMap(nullptr) + mMap(nullptr), + mSpellHeal1(serverConfig.getValue("spellHeal1", "#lum")), + mSpellHeal2(serverConfig.getValue("spellHeal2", "#inma")), + mSpellItenplz(serverConfig.getValue("spellItenplz", "#itenplz")), + mTargetDeadPlayers(config.getBoolValue("targetDeadPlayers")), + mTargetOnlyReachable(config.getBoolValue("targetOnlyReachable")), + mCyclePlayers(config.getBoolValue("cyclePlayers")), + mCycleMonsters(config.getBoolValue("cycleMonsters")), + mExtMouseTargeting(config.getBoolValue("extMouseTargeting")) { - mSpellHeal1 = serverConfig.getValue("spellHeal1", "#lum"); - mSpellHeal2 = serverConfig.getValue("spellHeal2", "#inma"); - mSpellItenplz = serverConfig.getValue("spellItenplz", "#itenplz"); - mTargetDeadPlayers = config.getBoolValue("targetDeadPlayers"); - mTargetOnlyReachable = config.getBoolValue("targetOnlyReachable"); - mCyclePlayers = config.getBoolValue("cyclePlayers"); - mCycleMonsters = config.getBoolValue("cycleMonsters"); - mExtMouseTargeting = config.getBoolValue("extMouseTargeting"); - config.addListener("targetDeadPlayers", this); config.addListener("targetOnlyReachable", this); config.addListener("cyclePlayers", this); -- cgit v1.2.3-70-g09d2