mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
fix(CreatureMethods.h): Added Trinity/AzerothCore guards to SetReactState
Signed-off-by: Tikki <oliver.m.m@hotmail.com>
This commit is contained in:
@@ -983,6 +983,7 @@ auto const& threatlist = creature->getThreatManager().getThreatList();
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if defined(TRINITY) || defined(AZEROTHCORE)
|
||||
/**
|
||||
* Sets the [Creature]'s ReactState to `state`.
|
||||
*
|
||||
@@ -995,6 +996,7 @@ auto const& threatlist = creature->getThreatManager().getThreatList();
|
||||
creature->SetReactState((ReactStates)state);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Makes the [Creature] able to fly if enabled.
|
||||
|
||||
Reference in New Issue
Block a user