From 3c18e9fc1b6a4a17b1eb1b8fd56ca5ad674e39d9 Mon Sep 17 00:00:00 2001 From: TOM_RUS Date: Tue, 19 Apr 2011 02:22:34 +0400 Subject: [PATCH] GCC sucks. --- src/game/Player.h | 11 ----------- src/game/WorldSession.h | 12 +++++++++++- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/game/Player.h b/src/game/Player.h index 16c66d13b..2146b077f 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -396,17 +396,6 @@ struct EnchantDuration typedef std::list EnchantDurationList; typedef std::list ItemDurationList; -enum LfgType -{ - LFG_TYPE_NONE = 0, - LFG_TYPE_DUNGEON = 1, - LFG_TYPE_RAID = 2, - LFG_TYPE_QUEST = 3, - LFG_TYPE_ZONE = 4, - LFG_TYPE_HEROIC_DUNGEON = 5, - LFG_TYPE_RANDOM_DUNGEON = 6 -}; - enum LfgRoles { LEADER = 0x01, diff --git a/src/game/WorldSession.h b/src/game/WorldSession.h index 5de2f3ab0..249992d2d 100644 --- a/src/game/WorldSession.h +++ b/src/game/WorldSession.h @@ -48,7 +48,6 @@ class MovementInfo; class WorldSession; struct OpcodeHandler; -enum LfgType; enum AccountDataType { @@ -158,6 +157,17 @@ enum LfgUpdateType LFG_UPDATE_LEAVE = 7, }; +enum LfgType +{ + LFG_TYPE_NONE = 0, + LFG_TYPE_DUNGEON = 1, + LFG_TYPE_RAID = 2, + LFG_TYPE_QUEST = 3, + LFG_TYPE_ZONE = 4, + LFG_TYPE_HEROIC_DUNGEON = 5, + LFG_TYPE_RANDOM_DUNGEON = 6 +}; + enum ChatRestrictionType { ERR_CHAT_RESTRICTED = 0,