Core/AI: silence a freaking annoying VS IntelliSense warning

This commit is contained in:
ccrs
2019-05-15 16:42:28 +02:00
parent 8a02741cd0
commit 0eb5d240fa
2 changed files with 7 additions and 5 deletions

View File

@@ -34,9 +34,11 @@
// Spell summary for ScriptedAI::SelectSpell
struct TSpellSummary
{
uint8 Targets; // set of enum SelectTarget
uint8 Effects; // set of enum SelectEffect
} extern* SpellSummary;
uint8 Targets; // set of enum SelectTarget
uint8 Effects; // set of enum SelectEffect
};
extern TSpellSummary* SpellSummary;
void SummonList::Summon(Creature const* summon)
{

View File

@@ -986,8 +986,8 @@ private:
struct TSpellSummary
{
uint8 Targets; // set of enum SelectTarget
uint8 Effects; // set of enum SelectEffect
uint8 Targets; // set of enum SelectTarget
uint8 Effects; // set of enum SelectEffect
} *SpellSummary;
ScriptObject::ScriptObject(char const* name) : _name(name)