From dd2f02699e51cce8f484e2a85e8e36d08594bd13 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Fri, 19 Feb 2010 17:17:08 +0300 Subject: [PATCH] [9412] Add #include DBCEnum.h for headers where SpellEffectIndex used. This must fix Unix build problem. --- src/game/Creature.h | 1 + src/game/DynamicObject.h | 1 + src/game/GridNotifiersImpl.h | 1 + src/game/Spell.h | 1 + src/game/SpellAuras.h | 1 + src/shared/revision_nr.h | 2 +- 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/game/Creature.h b/src/game/Creature.h index 024adc1a1..bf730e5e5 100644 --- a/src/game/Creature.h +++ b/src/game/Creature.h @@ -24,6 +24,7 @@ #include "UpdateMask.h" #include "ItemPrototype.h" #include "LootMgr.h" +#include "DBCEnums.h" #include "Database/DatabaseEnv.h" #include "Cell.h" diff --git a/src/game/DynamicObject.h b/src/game/DynamicObject.h index cd454caba..5bebb8870 100644 --- a/src/game/DynamicObject.h +++ b/src/game/DynamicObject.h @@ -20,6 +20,7 @@ #define MANGOSSERVER_DYNAMICOBJECT_H #include "Object.h" +#include "DBCEnums.h" class Unit; struct SpellEntry; diff --git a/src/game/GridNotifiersImpl.h b/src/game/GridNotifiersImpl.h index 2cd26cefc..252e4330e 100644 --- a/src/game/GridNotifiersImpl.h +++ b/src/game/GridNotifiersImpl.h @@ -26,6 +26,7 @@ #include "UpdateData.h" #include "CreatureAI.h" #include "SpellAuras.h" +#include "DBCEnums.h" template inline void diff --git a/src/game/Spell.h b/src/game/Spell.h index 594f732d3..545abdd45 100644 --- a/src/game/Spell.h +++ b/src/game/Spell.h @@ -21,6 +21,7 @@ #include "GridDefines.h" #include "SharedDefines.h" +#include "DBCEnums.h" class WorldSession; class Unit; diff --git a/src/game/SpellAuras.h b/src/game/SpellAuras.h index 16296893e..9b93e09a9 100644 --- a/src/game/SpellAuras.h +++ b/src/game/SpellAuras.h @@ -19,6 +19,7 @@ #define MANGOS_SPELLAURAS_H #include "SpellAuraDefines.h" +#include "DBCEnums.h" struct Modifier { diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 0eb5b7fcd..271f1a68a 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9411" + #define REVISION_NR "9412" #endif // __REVISION_NR_H__