Code review comment for lp:~widelands-dev/widelands/new-shipping

Revision history for this message
Klaus Halfmann (klaus-halfmann) wrote :

OK, found an obvious Bug:

* Two ships find the same PortSpace
* Tell both of them to build a port.

4: Colonization error: unloading wares to constructionsite of atlanteans_port (owner 4) failed.
 Wares unloaded to the site: 3, max capacity: 3, remaining to unload: 13
 No free capacity to unload another ware
Assertion failed: (wq.get_max_fill() > cur), function ship_update_idle, file ../src/logic/map_objects/tribes/ship.cc, line 653.

The same might happen if you tell a ship to uild a port that is
already (partially) equipped from the Land side

Do you want a save game for tis?

« Back to merge proposal