Comment 10 for bug 530646

Revision history for this message
Raul Ferriz (raul.ferriz) wrote :

I have done that modifications, and on my tests seems that this is not fixed.
But I found the reason for defenders disapearing, and fixed it. The fix for preventing a crash when player bulldozes a being attacked building (with defender at baseflag) was the responsible. I changed that code, to only check for location of building, and not also for the immovable at soldier's position.
I will commit and push all changes, because I think that changes introduced, seeking another attacker when first wasn't able to be reached is a good improvement.

I need that someone test this, I do not have enough time to test very hardly, but on submitted savegame that is fixed.

Note: That fix PREVENTS dissaperaing of soldiers, but on savegames that soldiers are frozen, I did not found a way to easily fix this. I think that asking checking that all invisible soldiers should be at same position that his home will be enough, when this is not true, then change soldiers position to put inside home building.