cast from function call of type ‘lua_Number’ {aka ‘int’} to deez nuts
This commit is contained in:
parent
d493dd9029
commit
3c2a60c8c5
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue