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 picking up liquid water bug #33357

Merged
merged 1 commit into from
Aug 19, 2019

Conversation

RedShakespeare
Copy link
Contributor

Summary

SUMMARY: Bugfixes "Fix picking up liquid water bug"

Purpose of change

Fixes part of #33354-You can pick up water even if it's not frozen

Describe the solution

Add "made_of_from_type(LIQUID)" judgment back in src/pickup.cpp (notice that the former commit #32763 deleted this and thus failed to change the got_water value.)

Describe alternatives you've considered

Maybe there should be a "is_liquid" attribute or function for the item class?

Additional context

This pr only fix part of the issue. The "hauling water" bug still exists

@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` labels Aug 19, 2019
@ZhilkinSerg ZhilkinSerg merged commit cf4ce7d into CleverRaven:master Aug 19, 2019
@RedShakespeare RedShakespeare deleted the pickupwater branch August 19, 2019 06:46
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`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants