extract editor state vars in cScenario to a new struct

This commit is contained in:
2025-05-09 08:37:13 -05:00
parent ae40151726
commit 21536fa1fa
7 changed files with 26 additions and 23 deletions

View File

@@ -72,8 +72,8 @@ TEST_CASE("Converting legacy scenario data") {
CHECK(scen.intro_pic == 27);
CHECK(scen.is_legacy);
CHECK(scen.journal_strs.empty());
CHECK(scen.last_out_edited == loc(1,1));
CHECK(scen.last_town_edited == 2);
CHECK(scen.editor_state.last_out_edited == loc(1,1));
CHECK(scen.editor_state.last_town_edited == 2);
CHECK(scen.out_sec_start == loc(4,4));
CHECK(scen.out_start == loc(1,1));
CHECK(scen.rating == eContentRating::R);