diff options
Diffstat (limited to 'src/lua/modules/graphics/je_lua_animator.cpp')
-rw-r--r-- | src/lua/modules/graphics/je_lua_animator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/modules/graphics/je_lua_animator.cpp b/src/lua/modules/graphics/je_lua_animator.cpp index c8dd420..360a276 100644 --- a/src/lua/modules/graphics/je_lua_animator.cpp +++ b/src/lua/modules/graphics/je_lua_animator.cpp @@ -30,8 +30,8 @@ namespace JinEngine LUA_IMPLEMENT int l_gc(lua_State* L) { - LuaObject* p = (LuaObject*)luax_checktype(L, 1, Jin_Lua_Animation); - p->release(); + LuaObject* obj = (LuaObject*)luax_checktype(L, 1, Jin_Lua_Animation); + obj->release(); return 0; } |