From eccf162be2e8cb821087f49dfd9a0885e6c0e73c Mon Sep 17 00:00:00 2001 From: n0n4m3 Date: Thu, 17 Dec 2009 14:06:20 +0100 Subject: Fixed compile errors and some typos --HG-- branch : trunk --- src/game/World.h | 40 ++++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) (limited to 'src/game/World.h') diff --git a/src/game/World.h b/src/game/World.h index bf5e5eae497..79c621d9a51 100644 --- a/src/game/World.h +++ b/src/game/World.h @@ -86,6 +86,13 @@ enum WorldTimers WUPDATE_COUNT = 10 }; +// States than may change after server started +enum WorldStates +{ + WORLDSTATE_WINTERGRASP_CONTROLING_FACTION, + WORLDSTATE_VALUE_COUNT, +}; + /// Configuration elements enum WorldConfigs { @@ -557,17 +564,27 @@ class World /// Set a server configuration element (see #WorldConfigs) void setConfig(uint32 index,uint32 value) { - if(index