avoid ub in func_play_800B79B0 & comment

This commit is contained in:
Alejandro Javier Asenjo Nitti 2024-04-08 00:05:42 -03:00
parent b2b8ea3c79
commit be0d328b4e
2 changed files with 454 additions and 34 deletions

View File

@ -6233,6 +6233,9 @@ void func_play_800B79B0(void) {
sp3A = 0;
} else {
var_v0_2 = 0;
#ifdef AVOID_UB
sp3A = 0;
#endif
}
if ((gPlayer[0].state_1C8 == PLAYERSTATE_1C8_3) && !(gGameFrameCount & var_v0_2)) {

File diff suppressed because it is too large Load Diff