1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00

fix sign error

This commit is contained in:
spacek531
2021-08-29 15:00:47 -07:00
parent 91099429c8
commit 39b762aa78

View File

@@ -7467,7 +7467,7 @@ void Vehicle::UpdateAdditionalAnimation()
UpdateAnimationAnimalFlying();
// makes animation play faster with vehicle speed
targetFrame = abs(_vehicleVelocityF64E08) >> 24;
animationState = std::max(animationState - targetFrame, 0);
animationState = std::max(animationState - targetFrame, 0u);
break;
}
}