Rivals greater than skin ID 256 can now properly be added in GP

This commit is contained in:
toaster 2025-09-17 00:22:57 +01:00
parent 6eae1715a0
commit 7fc5dc8150

View file

@ -316,7 +316,7 @@ void K_InitGrandPrixBots(void)
// Intentionally referenced before (currently dummied out) unlock check. Such a tease! // Intentionally referenced before (currently dummied out) unlock check. Such a tease!
if (rivalnum != -1 && grabskins[(UINT16)rivalnum] != MAXSKINS) if (rivalnum != -1 && grabskins[(UINT16)rivalnum] != MAXSKINS)
{ {
botskinlist[botskinlistpos++] = (UINT8)rivalnum; botskinlist[botskinlistpos++] = (UINT16)rivalnum;
grabskins[(UINT16)rivalnum] = MAXSKINS; grabskins[(UINT16)rivalnum] = MAXSKINS;
} }
} }