mirror of https://github.com/OpenRCT2/OpenRCT2.git
fix sign error
This commit is contained in:
parent
91099429c8
commit
39b762aa78
|
@ -7467,7 +7467,7 @@ void Vehicle::UpdateAdditionalAnimation()
|
||||||
UpdateAnimationAnimalFlying();
|
UpdateAnimationAnimalFlying();
|
||||||
// makes animation play faster with vehicle speed
|
// makes animation play faster with vehicle speed
|
||||||
targetFrame = abs(_vehicleVelocityF64E08) >> 24;
|
targetFrame = abs(_vehicleVelocityF64E08) >> 24;
|
||||||
animationState = std::max(animationState - targetFrame, 0);
|
animationState = std::max(animationState - targetFrame, 0u);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue