Sign compare fix via boolean cast

This commit is contained in:
toaster 2018-09-22 11:59:07 +01:00
parent 084b99a5c9
commit 84c2a8c28f

View file

@ -3175,7 +3175,7 @@ INT16 G_SometimesGetDifferentGametype(void)
encorepossible = M_RandomChance(FRACUNIT>>3);
break;
}
if (encorepossible != cv_kartencore.value)
if (encorepossible != (boolean)cv_kartencore.value)
return (gametype|0x80);
}
return gametype;