Merge pull request #578 from jonaeru/fix-friendly-fire

Fix to enable Friendly Fire option in Challenge
This commit is contained in:
fgsfds authored and GitHub committed 2025-02-22 11:15:38 +01:00
commit cd8f06d03a
1 file changed
+6
+6
View File
@@ -687,6 +687,12 @@ void challengeApply(void)
for (i = 0; i < MAX_PLAYERS; i++) { for (i = 0; i < MAX_PLAYERS; i++) {
g_PlayerConfigsArray[i].base.team = 0; g_PlayerConfigsArray[i].base.team = 0;
} }
#ifndef PLATFORM_N64
// Enable Friendly Fire option
g_MpSetup.options |= MPOPTION_FRIENDLYFIRE;
#endif
} }
s32 challengeRemovePlayerLock(void) s32 challengeRemovePlayerLock(void)