mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Make gravity
writable.
This commit is contained in:
parent
113e6b6585
commit
8a0f55e4ad
1 changed files with 2 additions and 0 deletions
|
@ -380,6 +380,8 @@ int LUA_CheckGlobals(lua_State *L, const char *word)
|
|||
emeralds = (UINT16)luaL_checkinteger(L, 2);
|
||||
else if (fastcmp(word, "token"))
|
||||
token = (UINT32)luaL_checkinteger(L, 2);
|
||||
else if (fastcmp(word, "gravity"))
|
||||
gravity = (fixed_t)luaL_checkinteger(L, 2);
|
||||
else
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue