Fix mission history no longer working (since before 1.0, oops).

This commit is contained in:
Mari the Deer 2021-09-21 23:35:36 +02:00
commit 7891c441c6
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.1.7 \cu(Mon 20 Sep 23:22:24 CEST 2021)\c-";
SWWM_SHORTVER="\cw1.1.7 \cu(2021-09-20 23:22:24)\c-";
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.1.7 \cu(Tue 21 Sep 23:35:36 CEST 2021)\c-";
SWWM_SHORTVER="\cw1.1.7 \cu(2021-09-21 23:35:36)\c-";

View file

@ -65,10 +65,12 @@ extend Class SWWMHandler
int csiz = s.clustervisit.Size();
if ( csiz == 0 )
{
s.clustervisit.Push(clust);
s.secretdone.Push(secret);
}
else if ( s.clustervisit[csiz-1] != clust )
{
s.clustervisit.Push(clust);
s.secretdone.Push(secret|s.secretdone[csiz-1]);
}
s.AddLevelStats();