mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 21:45:00 +03:00
fix UB in train
This commit is contained in:
parent
0704b7d62f
commit
07da6dacc0
@ -4227,6 +4227,10 @@ void Macbeth_Actor207_Update(Actor207* this) {
|
|||||||
s16 spC6;
|
s16 spC6;
|
||||||
u8 i;
|
u8 i;
|
||||||
|
|
||||||
|
#ifdef AVOID_UB
|
||||||
|
sp374 = 0.0f;
|
||||||
|
#endif
|
||||||
|
|
||||||
switch (this->state) {
|
switch (this->state) {
|
||||||
case 0:
|
case 0:
|
||||||
Macbeth_8019A198(this);
|
Macbeth_8019A198(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user