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

Unconditionally update overmap vision #36183

Merged
merged 3 commits into from
Dec 17, 2019

Conversation

ymber
Copy link
Member

@ymber ymber commented Dec 17, 2019

Summary

SUMMARY: Bugfixes "Fix updating overmap vision"

Purpose of change

Fixes #35059

Describe the solution

Unconditionally call update_overmap_seen from game::update_map.

Describe alternatives you've considered

We might want to avoid calculating overmap vision every turn.

Testing

Compiles fine, overmap vision bug is fixed.

@ymber ymber added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` labels Dec 17, 2019
@ymber ymber changed the title Remove early return from game::update_map Unconditionally update overmap vision Dec 17, 2019
src/game.cpp Outdated Show resolved Hide resolved
src/game.cpp Show resolved Hide resolved
Co-Authored-By: Isaac Freund <isaac.a.freund@gmail.com>
@kevingranade kevingranade merged commit 7a4aef3 into CleverRaven:master Dec 17, 2019
@ymber ymber deleted the silo_vision branch May 4, 2020 08:39
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.

Silo overmap view distance does not change with telescope or binoculars
3 participants