From 9790a2985c483bd9fc888f5166ccd365bab106ac Mon Sep 17 00:00:00 2001 From: Foereaper Date: Fri, 11 Jul 2014 23:56:09 +0200 Subject: [PATCH] Mangos definition update --- UnitMethods.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UnitMethods.h b/UnitMethods.h index 99edc09..46e6984 100644 --- a/UnitMethods.h +++ b/UnitMethods.h @@ -220,7 +220,11 @@ namespace LuaUnit int IsDying(lua_State* L, Unit* unit) { +#ifdef MANGOS + Eluna::Push(L, unit->IsDying()); +#else Eluna::Push(L, unit->isDying()); +#endif return 1; }