1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixed a bug with loading saves

This commit is contained in:
Zeno Rogue 2020-08-05 01:17:19 +02:00
parent 8173fc0504
commit fb06570c83

View File

@ -1210,7 +1210,7 @@ EX void loadsave() {
for(int i=boxid; i<MAXBOX; i++) save.box[i] = 0;
// for(int i=160; i<200; i++) printf("%d: %d ", i, save.box[i]);
if(1) {
if(meaning.count(sc.box[MODECODE_BOX])) {
shstream ss;
ss.s = meaning[sc.box[MODECODE_BOX]];
ss.read(ss.vernum);