Skip to content

Fix shotgun reload continuation and cancellation - #775

Open
s8n-anton wants to merge 2 commits into
themrdemonized:all-in-one-vs2022-wpofrom
s8n-anton:fix/shotgun-empty-reload-continuation
Open

s8n-anton wants to merge 2 commits into
themrdemonized:all-in-one-vs2022-wpofrom
s8n-anton:fix/shotgun-empty-reload-continuation

Conversation

@s8n-anton

Copy link
Copy Markdown

Fixes two issues with shell-by-shell shotgun reloads:

  • Reloading an empty weapon could stop after chambering the first shell instead of continuing to fill the magazine;
  • Cancelling an insertion could count the unfinished shell as loaded. Repeated fire-button clicks could also skip reload stages.

Fire input now cancels opening or insertion without adding a shell, then plays the closing animation. Shells already inserted at animation motion marks are kept. Further clicks during closing do not add ammunition, restart closing or fire the weapon.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant