mirror of
https://github.com/HarbourMasters/Starship
synced 2026-06-11 05:18:08 -04:00
fix UB in train
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user