aboutsummaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-02 16:46:55 -0600
committermegamage <none@none>2008-12-02 16:46:55 -0600
commit3527679b2977db0306b3b7967f52341a5ce8ea3a (patch)
tree27f4b172f79368729bab5fa69a49d8a145988d69 /src/game
parent1fd4c1dee2f7579aeeeaf7e9e9c6ed8f5555824b (diff)
*Remove some unused configs.
--HG-- branch : trunk
Diffstat (limited to 'src/game')
-rw-r--r--src/game/World.cpp17
-rw-r--r--src/game/World.h4
2 files changed, 0 insertions, 21 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp
index ce733a035ec..a7cff4cb686 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -953,23 +953,6 @@ void World::LoadConfigSettings(bool reload)
m_configs[CONFIG_MAX_WHO] = sConfig.GetIntDefault("MaxWhoListReturns", 49);
- m_configs[CONFIG_PLAYER_START_GOLD] = (uint32)(sConfig.GetFloatDefault("PlayerStart.Gold", 0.0f) * 10000.0f);
-
- if(m_configs[CONFIG_PLAYER_START_GOLD] > MAX_MONEY_AMOUNT)
- m_configs[CONFIG_PLAYER_START_GOLD] = MAX_MONEY_AMOUNT;
-
- m_configs[CONFIG_PLAYER_START_HONOR] = sConfig.GetIntDefault("PlayerStart.HonorPoints", 0);
- if(m_configs[CONFIG_PLAYER_START_HONOR] < 0)
- m_configs[CONFIG_PLAYER_START_HONOR] = 0;
-
- m_configs[CONFIG_PLAYER_START_ARENAPTS] = sConfig.GetIntDefault("PlayerStart.ArenaPoints", 0);
- if(m_configs[CONFIG_PLAYER_START_ARENAPTS] < 0)
- m_configs[CONFIG_PLAYER_START_ARENAPTS] = 0;
-
- m_configs[CONFIG_GM_START_LEVEL] = sConfig.GetIntDefault("GamemasterStartLevel", 1);
- if(m_configs[CONFIG_GM_START_LEVEL] < 1)
- m_configs[CONFIG_GM_START_LEVEL] = 1;
-
m_configs[CONFIG_BG_START_MUSIC] = sConfig.GetBoolDefault("MusicInBattleground", false);
m_configs[CONFIG_START_ALL_SPELLS] = sConfig.GetBoolDefault("PlayerStart.AllSpells", false);
m_configs[CONFIG_HONOR_AFTER_DUEL] = sConfig.GetIntDefault("HonorPointsAfterDuel", 0);
diff --git a/src/game/World.h b/src/game/World.h
index 9dd989bd4fe..73266c1b090 100644
--- a/src/game/World.h
+++ b/src/game/World.h
@@ -180,10 +180,6 @@ enum WorldConfigs
CONFIG_LISTEN_RANGE_YELL,
CONFIG_MAX_WHO,
- CONFIG_PLAYER_START_GOLD,
- CONFIG_PLAYER_START_HONOR,
- CONFIG_PLAYER_START_ARENAPTS,
- CONFIG_GM_START_LEVEL,
CONFIG_BG_START_MUSIC,
CONFIG_START_ALL_SPELLS,