mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-04-28 12:27:59 +03:00
avoid ub in func_play_800B79B0 & comment
This commit is contained in:
parent
b2b8ea3c79
commit
be0d328b4e
2 changed files with 454 additions and 34 deletions
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue