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

Fosnola's fix #101 #438

Closed
wants to merge 1 commit into from
Closed

Fosnola's fix #101 #438

wants to merge 1 commit into from

Conversation

NQNStudios
Copy link
Collaborator

@NQNStudios NQNStudios commented Sep 9, 2024

I've cherry-picked and amended (to remove extraneous changes) one of the commit's @fosnola said fixes issue #101, and after testing, it seems that the fix works. (However, I can in no way guarantee that it doesn't break anything else.)

There was an additional commit fosnola mentioned, fosnola@d63b089 , but I looked through that one and I can't tell how it's related to town boundaries. Also it has merge conflicts against our master branch, so I thought I'd leave it alone for now.

Edit: I also don't know how it could break legacy saves, or if that other commit was to fix that potential problem.

…ing a Windows scenario

  note: this may be succeptible to break the loading of some legacy save, but there are already broken....
@NQNStudios
Copy link
Collaborator Author

This bug would actually be a good candidate for having a unit test.

@CelticMinstrel
Copy link
Member

Any ideas on what that unit test could look like? We could add it in this PR as well.

@NQNStudios
Copy link
Collaborator Author

NQNStudios commented Sep 9, 2024 via email

@CelticMinstrel
Copy link
Member

I guess they could go in rsrc/ in a new folder, like test or test-scenarios or something like that. The other option would be in test/files/.

@NQNStudios
Copy link
Collaborator Author

Closed in favor of #441

@NQNStudios NQNStudios closed this Sep 13, 2024
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.

3 participants