Fix TC build

This commit is contained in:
Rochet2
2018-01-27 17:26:41 +02:00
parent 33deb86671
commit 7d3ba514f2

View File

@@ -1012,7 +1012,12 @@ namespace LuaCreature
*/
int SetInCombatWithZone(lua_State* /*L*/, Creature* creature)
{
#ifdef TRINITY
if (creature->IsAIEnabled)
creature->AI()->DoZoneInCombat();
#else
creature->SetInCombatWithZone();
#endif
return 0;
}