fix sign error

This commit is contained in:
spacek531 2021-08-29 15:00:47 -07:00
parent 91099429c8
commit 39b762aa78
1 changed files with 1 additions and 1 deletions

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;
}
}