aboutsummaryrefslogtreecommitdiff
path: root/src/game/World.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-18 17:58:13 -0600
committermegamage <none@none>2009-01-18 17:58:13 -0600
commitc85c89dc0b0564113e48bfcaf96dc2af55d73bb8 (patch)
treeb75e19414c6a9dc8bfd438f9e0c7a2e42aada9a6 /src/game/World.cpp
parent54ed3974138f2f51c3c42c4469f9f1541818f631 (diff)
parent613217fca7c2959fe3abbe593f4be65beedaeca8 (diff)
*Merge.
--HG-- branch : trunk
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)
{