Eluna fix typo

This commit is contained in:
Rochet2
2014-07-26 14:20:18 +03:00
parent 207e51b000
commit 307c3459ef

View File

@@ -40,7 +40,7 @@ namespace LuaCreature
int IsTargetableForAttack(lua_State* L, Creature* creature)
{
bool inversAlive = Eluna::CHECKOBJ<bool>(L, 2);
bool inversAlive = Eluna::CHECKVAL<bool>(L, 2);
#ifdef MANGOS
Eluna::Push(L, creature->IsTargetableForAttack(inversAlive));