Fix #7925: Reset temporary saveload data at the start of loading a savegame instead...
commita4be4514c9206355af120106e00c18eca8b5d75a
authorfrosch <frosch@openttd.org>
Sun, 12 Jan 2020 16:23:04 +0000 (12 17:23 +0100)
committerNiels Martin Hansen <nielsm@indvikleren.dk>
Sun, 12 Jan 2020 18:08:38 +0000 (12 19:08 +0100)
tree09b828bdb5e1164a2a797fe394e685b0aeba0d6e
parent41163331aa882765e528c0e716f6e49cee2411cb
Fix #7925: Reset temporary saveload data at the start of loading a savegame instead of at the end.
Otherwise temporary data may be passed from an aborted load action to the next load action.
src/saveload/engine_sl.cpp
src/saveload/labelmaps_sl.cpp
src/saveload/saveload.cpp
src/saveload/saveload_internal.h
src/saveload/waypoint_sl.cpp