Import town dialog says the town must be the same size as the current town #760
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
select-import-town says:
But the code doesn't actually check if this is true. I can only think of 1 reason why it might need to be true: if the view center on the current town will be out-of-bounds when a smaller town is imported.
I think view center should be clamped after an import, and this text should be axed from the import dialog (and manual/documentation, if it appears there).
Ah, the documentation in fact contradicts what the dialog says:
I think this was just a case of forgetting to update the text in the dialog when I removed the restriction.
(The restriction probably existed in old BoE due to the fact that it did not load the scenario into memory, so importing a town basically meant copying a chunk of binary data from one file to the other. Obviously, if those chunks were not the same size, that would fail catastrophically.)
By the way, it seems to me that the Question tag maybe no longer applies? I'm not sure though.