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

Capturing civilian water units without researching optics leads to swap crashes #4556

Closed
xlenstra opened this issue Jul 18, 2021 · 2 comments
Labels

Comments

@xlenstra
Copy link
Collaborator

It is possible to attack units and capture civilian units in water tiles before researching optics (allow units to embark). This could lead to crashes due to possible swaps being calculated when the unit is selected, see #4237.

This is part of a bigger problem where melee water units can attack land units and vise versa, even though this was not a part of the original game.

@xlenstra xlenstra added the bug label Jul 18, 2021
@avdstaaij
Copy link
Contributor

Like you stated, the title and first part of this issue are a duplicate of case 4 of #4237, so I believe those can be removed here. I prefer to gather all the cases of #4237 in a single issue so that I can link to it when a new case is discovered and so the reason for the crash doesn't have to be repeated every time. The second part might be better placed in #663.

@yairm210, in case you didn't see my comment in #4237 after it was closed, could you re-open the issue? I cannot do it myself because you are the one who closed it.

@xlenstra
Copy link
Collaborator Author

Closed on specific request of @avdstaaij, as he for some reason has the belief that his issue is better then mine 😒

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants