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

Fixes second part of #6145 #6147

Merged
merged 1 commit into from Feb 18, 2014

Conversation

Projects
None yet
2 participants
@BevapDin
Copy link
Contributor

commented Feb 17, 2014

Fixes second part of #6145

Food in containers rots, because item::fridge is only set for the container, not for the content, fixed herby.

Item not getting cool is caused by the item_counter, which is unsigned and gets decremented by 10 in the fridge. The code that handles cool down process_active_item decrements it further and than checks it against 0. In 9 of 10 cases the decrementing leads to an overflow and item_counter is now very big (and not even near 0). And the whole cycle starts again.

Rivet-the-Zombie added a commit that referenced this pull request Feb 18, 2014

@Rivet-the-Zombie Rivet-the-Zombie merged commit 500d382 into CleverRaven:master Feb 18, 2014

1 check passed

default This has been rescheduled for testing as the 'master' branch has been updated.

@BevapDin BevapDin deleted the BevapDin:fridges branch Feb 18, 2014

origamiwolf added a commit to origamiwolf/DinoCataclysm that referenced this pull request Feb 19, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.