Comment 6 for bug 1395238

Revision history for this message
xxx-deleted (janosch-peters-deactivatedaccount) wrote :

While working on a bugfix for Bug #1522290, I figured out a solution for this issue. It is, however, not really elegant: I changed attack_update so that attacking soldiers require an unblocked path to their target. If they cannot find one they return home.

This is only meant as a first suggestion. A better solution woulf be something like Nasenbaer suggested: The attacking soldiers should "step aside" to make space for returning soldiers.

I attached a patch which works for me. It prevents soldiers from getting stuck and solves the performance issue #1522290.