From 8ee51262bedc98260e36bab271051432432e5fa9 Mon Sep 17 00:00:00 2001 From: MascaraSnake Date: Mon, 10 Apr 2023 14:08:53 +0200 Subject: [PATCH] Fix flag mixup in P_GetOldFOFFlags() --- src/lua_maplib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lua_maplib.c b/src/lua_maplib.c index fac13ca65..4c0d8baf1 100644 --- a/src/lua_maplib.c +++ b/src/lua_maplib.c @@ -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; }