mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 13:35:11 +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;
|
||||
u8 i;
|
||||
|
||||
#ifdef AVOID_UB
|
||||
sp374 = 0.0f;
|
||||
#endif
|
||||
|
||||
switch (this->state) {
|
||||
case 0:
|
||||
Macbeth_8019A198(this);
|
||||
|
Loading…
Reference in New Issue
Block a user