Saving a game from replay does not show up in load game menu
Bug #1798812 reported by
kaputtnik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If you watch a replay and save it, a new file is created in the save-folder, but it does not show up in the load game menu. During testing i found differences in the file preload:
win_condition="Not set"
This had to be: "Endless Game" instead of "Not Set". After changing this to "Endless Game" the file does not show up either in the load game menu. I had to modify the value of:
gametype="4"
After changing this to ="1" the file shows up in the menu and can be loaded without trouble.
Related branches
lp:~widelands-dev/widelands/bug-1798812-replay-savegame-type
- Notabilis: Approve
- GunChleoc: Needs Resubmitting
-
Diff: 103 lines (+17/-11)6 files modifiedsrc/logic/game.cc (+7/-0)
src/logic/game.h (+2/-3)
src/logic/replay.cc (+4/-0)
src/wui/game_main_menu_save_game.cc (+1/-1)
src/wui/load_or_save_game.cc (+2/-6)
src/wui/load_or_save_game.h (+1/-1)
tags: | added: replay |
Changed in widelands: | |
milestone: | none → build20-rc1 |
tags: | added: ui |
Changed in widelands: | |
assignee: | nobody → GunChleoc (gunchleoc) |
status: | New → In Progress |
Changed in widelands: | |
assignee: | GunChleoc (gunchleoc) → nobody |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Fixed in build20-rc1