mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 12:40:58 +00:00
Whoops, didn't realise pushing fixed and integer were different. My mistake.
This commit is contained in:
parent
62c4338d60
commit
76d108d760
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ static int lib_pGetMobjGravity(lua_State *L)
|
||||||
//HUDSAFE
|
//HUDSAFE
|
||||||
if (!mobj)
|
if (!mobj)
|
||||||
return LUA_ErrInvalid(L, "mobj_t");
|
return LUA_ErrInvalid(L, "mobj_t");
|
||||||
lua_pushinteger(L, P_GetMobjGravity(mobj));
|
lua_pushfixed(L, P_GetMobjGravity(mobj));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue