From 1e6793fa0ae86787a5200a56a8cc5ec6dc033bc2 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 7 Jun 2024 07:37:46 +0200 Subject: [PATCH] fixed legacy modecodes failing on load --- system.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/system.cpp b/system.cpp index 703b8f47..f72d7708 100644 --- a/system.cpp +++ b/system.cpp @@ -1355,9 +1355,10 @@ EX void load_last_save() { for(int i=boxid; i= FIRST_MODECODE && meaning.count(mc)) { shstream ss; - ss.s = meaning[sc.box[MODECODE_BOX]]; + ss.s = meaning[mc]; ss.read(ss.vernum); if(ss.vernum < 0xAA05) mapstream::load_geometry(ss);