Third-person reload animation does not play when reloading empty sniper rifles
Issue #72
resolved
Comments (2)
-
reporter -
reporter - changed status to resolved
Fix was easier than expected, just needed to set
PA_ProneReloadEmptyAnim
andPA_ReloadEmptyAnim
. Fixed in commit ac73778. - Log in to comment
Figured out the cause of this one.
The offending lines are in ROPawn.uc @ 1921:
Essentially, since the weapon attachment is
bOutOfAmmo
, it will attempt to play an animation that it doesn't have instead of looping the single reload animation. One quick and dirty option is to just never setbOutOfAmmo
totrue
, but this may have knock-on effects. Will investigate.