aboutsummaryrefslogtreecommitdiff
path: root/src/game/World.cpp
diff options
context:
space:
mode:
authorDisassembler <none@none>2009-05-04 16:54:35 +0200
committerDisassembler <none@none>2009-05-04 16:54:35 +0200
commit92cfbad2b2f1bcf4e3cbf68b508d62e595eca566 (patch)
tree2afc13b0bafa7adcdd5f3756e664e6b62595acd2 /src/game/World.cpp
parent2797d699363396c215cf5ecd603f7fae56cbc39d (diff)
Backport from TC2 (resp. Mangos) conf options Death.Bones.* for disable bones
creating from corpse in world zones or in arena/bg. --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 b50e8476283..5edd15fa472 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -893,6 +893,8 @@ void World::LoadConfigSettings(bool reload)
m_configs[CONFIG_DEATH_SICKNESS_LEVEL] = sConfig.GetIntDefault("Death.SicknessLevel", 11);
m_configs[CONFIG_DEATH_CORPSE_RECLAIM_DELAY_PVP] = sConfig.GetBoolDefault("Death.CorpseReclaimDelay.PvP", true);
m_configs[CONFIG_DEATH_CORPSE_RECLAIM_DELAY_PVE] = sConfig.GetBoolDefault("Death.CorpseReclaimDelay.PvE", true);
+ 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_THREAT_RADIUS] = sConfig.GetIntDefault("ThreatRadius", 60);