speed_target avoid ub

This commit is contained in:
madeline
2026-04-28 06:08:04 -07:00
parent d99ed2729b
commit 3c25633ee9
+5
View File
@@ -282,6 +282,11 @@ static void e_th_spin_B(e_th_class* i_this) {
i_this->current.pos += spC;
f32 speed_target;
#if AVOID_UB
speed_target = 0;
#endif
f32 anm_frame = i_this->mpModelMorf->getFrame();
switch (i_this->mMode) {