mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-09 19:52:28 +03:00
avoid ub in func_play_800B79B0 & comment
This commit is contained in:
parent
b2b8ea3c79
commit
be0d328b4e
@ -6233,6 +6233,9 @@ void func_play_800B79B0(void) {
|
|||||||
sp3A = 0;
|
sp3A = 0;
|
||||||
} else {
|
} else {
|
||||||
var_v0_2 = 0;
|
var_v0_2 = 0;
|
||||||
|
#ifdef AVOID_UB
|
||||||
|
sp3A = 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((gPlayer[0].state_1C8 == PLAYERSTATE_1C8_3) && !(gGameFrameCount & var_v0_2)) {
|
if ((gPlayer[0].state_1C8 == PLAYERSTATE_1C8_3) && !(gGameFrameCount & var_v0_2)) {
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user