Fix flag mixup in P_GetOldFOFFlags()

This commit is contained in:
MascaraSnake 2023-04-10 14:08:53 +02:00 committed by NepDisk
parent 3d0b0a28d2
commit 8ee51262be

View file

@ -1998,10 +1998,10 @@ static INT32 P_GetOldFOFFlags(ffloor_t *fflr)
result |= FF_OLD_SPINBUST;
if (fflr->busttype == BT_STRONG)
result |= FF_OLD_STRONGBUST;
if (fflr->fofflags & FF_OLD_RIPPLE)
result |= FOF_RIPPLE;
if (fflr->fofflags & FF_OLD_COLORMAPONLY)
result |= FOF_COLORMAPONLY;
if (fflr->fofflags & FOF_RIPPLE)
result |= FF_OLD_RIPPLE;
if (fflr->fofflags & FOF_COLORMAPONLY)
result |= FF_OLD_COLORMAPONLY;
return result;
}