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

Get rid of poltergeist which caused items on the map to move when loading saved game #27155

Merged
merged 1 commit into from Dec 18, 2018

Conversation

ZhilkinSerg
Copy link
Contributor

@ZhilkinSerg ZhilkinSerg commented Dec 18, 2018

Summary

SUMMARY: Bugfixes "Get rid of poltergeist which caused items on the map to move when loading saved game"

Purpose of change

Fixes #27157 (also issue described in https://www.reddit.com/r/cataclysmdda/comments/a78q7d/items_moving_while_i_am_gone_possible_bug/).

Describe the solution

Cache coordinates in separate variables when reading from json.

@ZhilkinSerg ZhilkinSerg added (P2 - High) High priority (for ex. important bugfixes) [C++] Changes (can be) made in C++. Previously named `Code` <Bugfix> This is a fix for a bug (or closes open issue) labels Dec 18, 2018
@AMurkin AMurkin mentioned this pull request Dec 18, 2018
@kevingranade kevingranade merged commit 59564c6 into CleverRaven:master Dec 18, 2018
@ZhilkinSerg ZhilkinSerg deleted the fix-poltergeist branch December 19, 2018 01:16
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` (P2 - High) High priority (for ex. important bugfixes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Loot pile "moved" after saving and reloading.
2 participants