readd player var to lib_pDoSuperTransformation
otherwise this may desynch?
This commit is contained in:
1 parent
38cbdac05a
commit
c0f7780709
1 file changed
+3
@@ -1512,7 +1512,10 @@ static int lib_pSetMobjStateNF(lua_State *L)
|
||||
|
||||
static int lib_pDoSuperTransformation(lua_State *L)
|
||||
{
|
||||
player_t *player = *((player_t **)luaL_checkudata(L, 1, META_PLAYER));
|
||||
NOHUD
|
||||
if (!player)
|
||||
return LUA_ErrInvalid(L, "player_t");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user