cast from function call of type ‘lua_Number’ {aka ‘int’} to deez nuts

This commit is contained in:
yamamama 2026-04-29 05:40:12 -04:00
parent d493dd9029
commit 3c2a60c8c5

View file

@ -3654,7 +3654,7 @@ static int lib_gTicsToMilliseconds(lua_State *L)
static int lib_gMapIsSafe(lua_State *L)
{
mapnum_t map = (mapnum_t)luaL_checkinteger(L, 1);
mapnum_t map = luaL_checkinteger(L, 1);
if (lua_compatmode && map)
map = G_KartMapToNative(map);