mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-19 03:51:34 +00:00
Fix bakezpiv offset case fallthrus
This commit is contained in:
parent
19fdf19eb4
commit
80edcb4710
1 changed files with 2 additions and 0 deletions
|
|
@ -510,6 +510,7 @@ static int mobj_get(lua_State *L)
|
|||
break;
|
||||
case mobj_bakezpiv:
|
||||
lua_pushfixed(L, mo->bakezpiv);
|
||||
break;
|
||||
case mobj_terrain:
|
||||
LUA_PushUserdata(L, mo->terrain, META_TERRAIN);
|
||||
break;
|
||||
|
|
@ -945,6 +946,7 @@ static int mobj_set(lua_State *L)
|
|||
break;
|
||||
case mobj_bakezpiv:
|
||||
mo->bakezpiv = luaL_checkfixed(L, 3);
|
||||
break;
|
||||
case mobj_terrain:
|
||||
mo->terrain = *((terrain_t **)luaL_checkudata(L, 3, META_TERRAIN));
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue