Fix intermission tip filtering.

This commit is contained in:
Mari the Deer 2022-03-05 18:54:42 +01:00
commit 6b4432fdf8
2 changed files with 3 additions and 4 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2pre r179 \cu(Sat 5 Mar 18:46:00 CET 2022)\c-";
SWWM_SHORTVER="\cw1.2pre r179 \cu(2022-03-05 18:46:00)\c-";
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2pre r180 \cu(Sat 5 Mar 18:54:42 CET 2022)\c-";
SWWM_SHORTVER="\cw1.2pre r180 \cu(2022-03-05 18:54:42)\c-";

View file

@ -122,11 +122,10 @@ Class SWWMStatScreen : StatusScreen abstract
{
// skip DLC tips for now
if ( (i >= 59) && (i <= 68) ) continue;
if ( (i >= 133) && (i <= 139) ) continue;
ents.Push(i);
}
// account for skipped dlc tips (important, will crash otherwise)
maxtip -= 17;
maxtip -= 10;
if ( pdata.lasttip.Size() >= maxtip )
{
// exclude last one, start over