Comment 3 for bug 1542703

Revision history for this message
SirVer (sirver) wrote :

The problem is that a port is finished at (188, 114) for the red player. The code immediately burns it down again and that crashes.

This is the underlying problem:

1) A player never looses land if she has military influence over it.
2) The game does not allow buildings that are on the border - all fields of a building must be fully inside a players land.
3) ports seem to relax assumption 2 (see screenshot). The port only conquers a small amount of land, which does not fully cover it's area.

When the port is finished, the initialization conquers area which checks that all buildings are indeed inside the owned land. Since purples borders cannot move, the port is on the border and gets killed immediately again - and that crashes the assert.