Fix Darren sometimes never giving fights if the boxers's IDs aren't assigned

This commit is contained in:
noooooo4499
2026-02-07 12:03:03 +02:00
committed by Asdow
parent f3ce1d5ff9
commit dc107f5044
+5 -2
View File
@@ -453,11 +453,14 @@ BOOLEAN BoxerAvailable( void )
return( FALSE );
}
// NOTE THIS IS NOW BROKEN BECAUSE NPC.C ASSUMES THAT BOXERSAVAILABLE < 3 IS A
// SEQUEL FIGHT. Maybe we could check Kingpin's location instead!
UINT8 BoxersAvailable( void )
{
UINT8 ubCount = 0;
// Should also run CheckOnBoxers to make sure boxer IDs are set for this function similarly to BoxerAvailable
if (CheckOnBoxers() == FALSE)
{
return(ubCount);
}
for (UINT8 ubLoop = 0; ubLoop < NUM_BOXERS; ++ubLoop)
{