aboutsummaryrefslogtreecommitdiff
path: root/src/game/World.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/World.cpp')
-rw-r--r--src/game/World.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp
index 82821f44544..1e1ca227d1b 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -532,6 +532,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)
{