Assertion in "CUnit::DeAssignWorkerFromMine" when winning campaign level

Bug #841133 reported by Henri
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Stratagus
Expired
Undecided
Unassigned

Bug Description

Warus/Stratagus stable 2.2.5.5

When loading the attached savegame, one only needs to destruct the last enemy building (farm) to win the campain level. When this is done, the application crashes with an assertion (DebugPrint in CUnit::DeAssignWorkerFromMine uncommented):

src/unit/unit.cpp:1595: 0: Worker [73] is removing from Gold Mine [0] left 45 units assigned
Assertion failed at src/unit/unit.cpp:1594: i <= mine.Data.Resource.Assigned

Related branches

Revision history for this message
Henri (inet-launchpad) wrote :
Revision history for this message
Pali (pali) wrote :

Try version from bzr. There is fixed bug with Gold Mine:
http://bazaar.launchpad.net/~stratagus/stratagus/trunk/revision/7962

Revision history for this message
Pali (pali) wrote :

Is this problem in new version 2.2.6 too?

Changed in stratagus:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Stratagus because there has been no activity for 60 days.]

Changed in stratagus:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.