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

Fix refueling of fires #31668

Merged
merged 1 commit into from
Jun 20, 2019
Merged

Conversation

ifreund
Copy link
Contributor

@ifreund ifreund commented Jun 20, 2019

Summary

SUMMARY: Bugfixes "Fix refueling of fires"

Purpose of change

Fixes #31656

Describe the solution

Replace the move_item() called with a much simpler drop_on_map()/i_rem()

There's no need for more complex item charges or vehicle logic here since the fire refueling code doesn't work with vehicles and doesn't take charges into account.

@ifreund ifreund added [C++] Changes (can be) made in C++. Previously named `Code` <Bugfix> This is a fix for a bug (or closes open issue) Mechanics: Character / Player Character / Player mechanics labels Jun 20, 2019
@ZhilkinSerg ZhilkinSerg self-assigned this Jun 20, 2019
@ZhilkinSerg ZhilkinSerg merged commit d34fab8 into CleverRaven:master Jun 20, 2019
@ZhilkinSerg ZhilkinSerg removed their assignment Jun 20, 2019
@ifreund ifreund deleted the refuel-fire-fix branch June 21, 2019 10:44
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.

Application error when using fire in combination with firewood source
2 participants