mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
fix(LuaFunctions.cpp): Added Trinity/Azerothcore guards to SetReactState()
Signed-off-by: Tikki <oliver.m.m@hotmail.com>
This commit is contained in:
@@ -807,7 +807,9 @@ ElunaRegister<Creature> CreatureMethods[] =
|
||||
{ "SetLootMode", &LuaCreature::SetLootMode },
|
||||
#endif
|
||||
{ "SetNPCFlags", &LuaCreature::SetNPCFlags },
|
||||
#if defined(TRINITY) || AZEROTHCORE
|
||||
{ "SetReactState", &LuaCreature::SetReactState },
|
||||
#endif
|
||||
{ "SetDeathState", &LuaCreature::SetDeathState },
|
||||
{ "SetWalk", &LuaCreature::SetWalk },
|
||||
{ "SetHomePosition", &LuaCreature::SetHomePosition },
|
||||
|
||||
Reference in New Issue
Block a user