Dismount DLZ Rocket on tumble bounce counter being nonzero, not tumble height

Tumble height is not set to 0 between (s)tumble events
This commit is contained in:
toaster 2024-05-02 00:43:00 +01:00
parent d288b588d1
commit f2de83843b

View file

@ -196,6 +196,6 @@ void Obj_playerDLZRocket(player_t *p)
}
if ((p->dlzrocket > 10 && (P_IsObjectOnGround(p->mo) || p->mo->eflags & MFE_JUSTBOUNCEDWALL))
|| p->spinouttimer || p->wipeoutslow || p->tumbleHeight)
|| p->spinouttimer || p->wipeoutslow || p->tumbleBounces)
Obj_DLZRocketDismount(p);
}