mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +00:00
MP Lua: FadeMusic signed/unsigned comparison fix (buildbots)
This commit is contained in:
parent
0bcc8ff26a
commit
4c0635f94b
1 changed files with 1 additions and 1 deletions
|
|
@ -2151,7 +2151,7 @@ static int lib_sFadeMusic(lua_State *L)
|
||||||
source_volume = (INT32)luaL_checkinteger(L, 2);
|
source_volume = (INT32)luaL_checkinteger(L, 2);
|
||||||
ms = (UINT32)luaL_checkinteger(L, 3);
|
ms = (UINT32)luaL_checkinteger(L, 3);
|
||||||
}
|
}
|
||||||
else if (luaL_optinteger(L, 3, UINT32_MAX) == UINT32_MAX)
|
else if (luaL_optinteger(L, 3, INT32_MAX) == INT32_MAX)
|
||||||
{
|
{
|
||||||
ms = (UINT32)luaL_checkinteger(L, 2);
|
ms = (UINT32)luaL_checkinteger(L, 2);
|
||||||
source_volume = -1;
|
source_volume = -1;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue