Error when loading savegame saved in replay
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
High
|
Unassigned |
Bug Description
Steps to reproduce:
- Two computer players play, I am the spectator.
- Watch a replay of the game.
- Save during the replay.
- Try to load the replay (in single or multiplayer mode).
After a short loading time, the game crashes with a error message. The stderr is empty, the last few lines of the stdout are:
Game: Reading Player Economies Info ... done
Game: Reading Command Queue Data ... Fata exception: Kommandoschlange: [c:/data/
Object_Manager: ouch! remaining objects
lastserial: 2444
Spieldatenfehler
Kommandoschlange: [c:/data/
I attach the savegame.
Related branches
- Widelands Developers: Pending requested
-
Diff: 12 lines (+2/-0)1 file modifiedsrc/logic/queue_cmd_factory.cc (+2/-0)
tags: | added: crash replay savegame |
Changed in widelands: | |
status: | Confirmed → In Progress |
Changed in widelands: | |
status: | In Progress → Fix Committed |
Cmd Id 26 is QUEUE_CMD_ MILITARYSITESET SOLDIERPREFEREN CE, which is indeed not handled in Queue_Cmd_ Factory: :create_ correct_ queue_command