diff options
| author | Disassembler <none@none> | 2009-05-04 16:54:35 +0200 |
|---|---|---|
| committer | Disassembler <none@none> | 2009-05-04 16:54:35 +0200 |
| commit | 92cfbad2b2f1bcf4e3cbf68b508d62e595eca566 (patch) | |
| tree | 2afc13b0bafa7adcdd5f3756e664e6b62595acd2 /src/game/World.cpp | |
| parent | 2797d699363396c215cf5ecd603f7fae56cbc39d (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.cpp | 2 |
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); |
