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 a client crash after reseting options #1565

Merged
merged 1 commit into from
Dec 9, 2022

Conversation

lmoureaux
Copy link
Contributor

The last shortcut, SC_PILLAGE, was never added back to the map of shortcuts after clearing it for a reset, causing a crash when selecting any pillage-capable unit.

The last shortcut, SC_PILLAGE, was never added back to the map of shortcuts
after clearing it for a reset, causing a crash when selecting any
pillage-capable unit.
@lmoureaux lmoureaux requested a review from jwrober December 7, 2022 20:18
@lmoureaux
Copy link
Contributor Author

Testing:

  • Load freeciv-T0264-Y01776-auto.sav.gz
  • Take louis
  • Reset options
  • Change production in Měnĭskŭ (top right of the map, next to the forest, doesn't matter what you change the production to)
  • Close city dialog with Esc
  • The engineer in Chelm is selected
  • Hit W
  • Crash (or not)

Make sure you can reproduce with the current version before claiming it's fixed...

@jwrober jwrober merged commit b51019d into longturn:master Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants