aboutsummaryrefslogtreecommitdiff
path: root/src/game/World.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-08-20 13:22:07 -0700
committermaximius <none@none>2009-08-20 13:22:07 -0700
commiteb81138e6d2fa0d3a1b65ab1df625e6a56fe6cd2 (patch)
tree591c43eb124ba4c92f11672016486c18913ee4c3 /src/game/World.cpp
parenta63b457b3cfe5f1ceecd42c1fb15866d9981a6fb (diff)
*Add a config option for .die command behavior
--HG-- branch : trunk
Diffstat (limited to 'src/game/World.cpp')
-rw-r--r--src/game/World.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp
index 0be652c5689..c2975be9b94 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -990,6 +990,8 @@ void World::LoadConfigSettings(bool reload)
m_configs[CONFIG_DEATH_BONES_WORLD] = sConfig.GetBoolDefault("Death.Bones.World", true);
m_configs[CONFIG_DEATH_BONES_BG_OR_ARENA] = sConfig.GetBoolDefault("Death.Bones.BattlegroundOrArena", true);
+ m_configs[CONFIG_DIE_COMMAND_MODE] = sConfig.GetBoolDefault("Die.Command.Mode", true);
+
m_configs[CONFIG_THREAT_RADIUS] = sConfig.GetIntDefault("ThreatRadius", 60);
// always use declined names in the russian client