fix(CreatureMethods.h): Added Trinity/AzerothCore guards to SetReactState

Signed-off-by: Tikki <oliver.m.m@hotmail.com>
This commit is contained in:
Tikki
2021-05-28 14:50:03 +02:00
parent 68b5ffcf4b
commit 6f1e553c83

View File

@@ -983,6 +983,7 @@ auto const& threatlist = creature->getThreatManager().getThreatList();
return 0; return 0;
} }
#if defined(TRINITY) || defined(AZEROTHCORE)
/** /**
* Sets the [Creature]'s ReactState to `state`. * Sets the [Creature]'s ReactState to `state`.
* *
@@ -995,6 +996,7 @@ auto const& threatlist = creature->getThreatManager().getThreatList();
creature->SetReactState((ReactStates)state); creature->SetReactState((ReactStates)state);
return 0; return 0;
} }
#endif
/** /**
* Makes the [Creature] able to fly if enabled. * Makes the [Creature] able to fly if enabled.