Whoops, didn't realise pushing fixed and integer were different. My mistake.

This commit is contained in:
toasterbabe 2016-06-01 14:49:14 +01:00
parent 62c4338d60
commit 76d108d760
1 changed files with 1 additions and 1 deletions

View File

@ -444,7 +444,7 @@ static int lib_pGetMobjGravity(lua_State *L)
//HUDSAFE
if (!mobj)
return LUA_ErrInvalid(L, "mobj_t");
lua_pushinteger(L, P_GetMobjGravity(mobj));
lua_pushfixed(L, P_GetMobjGravity(mobj));
return 1;
}