ttyborg / castlesand

Automatically exported from code.google.com/p/castlesand
0 stars 0 forks source link

TakenOffer Crash Bug #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load either of the attached save files (they worked in r679)
2. Wait for a minute or so
3. Crash will occur in TKMDeliverQueue.TakenOffer on the line:
dec(fOffer[iO].BeingPerformed);

I don't remember doing anything in particular that may have caused this
issue. My initial suspicions of changing the storehouse triangles was wrong
as I didn't change them in the second attached save.

Original issue reported on code.google.com by lewinjh@gmail.com on 15 Feb 2010 at 9:29

Attachments:

GoogleCodeExporter commented 9 years ago
Save02: Somehow two units (ID 195 and 197) performing the same Delivery (ID 11)

Original comment by kromster80@gmail.com on 16 Feb 2010 at 9:48

GoogleCodeExporter commented 9 years ago
At least one case of this issue was fixed with preserving BeingPerformed over 
demolished houses offers.

Issue is closed and should be reopened with new savegames from r704+ (since 
changes 
in code).

Original comment by kromster80@gmail.com on 23 Feb 2010 at 8:34

GoogleCodeExporter commented 9 years ago
Nice. :)
I'll let you know if it happens again, but I don't think it will.

Original comment by lewinjh@gmail.com on 23 Feb 2010 at 10:15