From 307c3459ef34f1ff1cd7bf8596ec5de5d35c8d9b Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Sat, 26 Jul 2014 14:20:18 +0300 Subject: [PATCH] Eluna fix typo --- CreatureMethods.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CreatureMethods.h b/CreatureMethods.h index 84e020e..9a455f1 100644 --- a/CreatureMethods.h +++ b/CreatureMethods.h @@ -40,7 +40,7 @@ namespace LuaCreature int IsTargetableForAttack(lua_State* L, Creature* creature) { - bool inversAlive = Eluna::CHECKOBJ(L, 2); + bool inversAlive = Eluna::CHECKVAL(L, 2); #ifdef MANGOS Eluna::Push(L, creature->IsTargetableForAttack(inversAlive));