diff options
| author | Blaymoira <none@none> | 2009-01-18 18:29:55 +0100 |
|---|---|---|
| committer | Blaymoira <none@none> | 2009-01-18 18:29:55 +0100 |
| commit | 85f171307fe10823101e61c55a6c7d7d07d35143 (patch) | |
| tree | 4809e2ef5b980ce30f7c30349e80c75c278ba73a /src/game/World.cpp | |
| parent | 1f3e051d22e4c482e83b4dd4051bf1690e7be5ed (diff) | |
*Implemented configurable flying mount use on maps - by Zor
--HG--
branch : trunk
Diffstat (limited to 'src/game/World.cpp')
| -rw-r--r-- | src/game/World.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp index 89a0b75cd36..219c656dcaf 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -526,6 +526,11 @@ void World::LoadConfigSettings(bool reload) ///- Read other configuration items from the config file + ///- Do we allow flying mounts in Azeroth/Outland and others (others being instances, BGs, arenas)? + m_configs[CONFIG_FLYING_MOUNTS_AZEROTH] = sConfig.GetBoolDefault("FlyingMounts.Azeroth", false); + m_configs[CONFIG_FLYING_MOUNTS_OUTLAND] = sConfig.GetBoolDefault("FlyingMounts.Outland", true); + m_configs[CONFIG_FLYING_MOUNTS_OTHERS] = sConfig.GetBoolDefault("FlyingMounts.Others", false); + m_configs[CONFIG_COMPRESSION] = sConfig.GetIntDefault("Compression", 1); if(m_configs[CONFIG_COMPRESSION] < 1 || m_configs[CONFIG_COMPRESSION] > 9) { |
