Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed error handling in "waiting for stamina regain" #34296

Merged
merged 1 commit into from
Sep 28, 2019

Conversation

ipcyborg
Copy link
Contributor

Summary

SUMMARY: Bugfixes "Smashing corpses give out of stamina error"

Purpose of change

Fixes #32873 Fixes #34155

Describe the solution

Only applied for "waiting-with-threshold":

  1. Remember initial stamina.
  2. Don't report error if at least some stamina has been regained.

Describe alternatives you've considered

None. This solution was suggested in #32873.

Additional context

None

@ZhilkinSerg ZhilkinSerg added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Mechanics: Character / Player Character / Player mechanics labels Sep 28, 2019
@ZhilkinSerg ZhilkinSerg merged commit e515269 into CleverRaven:master Sep 28, 2019
@ipcyborg ipcyborg deleted the fix-32873-stamina-waiting branch September 28, 2019 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Mechanics: Character / Player Character / Player mechanics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error after killing zombie with shotgun Smashing corpses give out of stamina error
2 participants