From 7389e2ceb6cc9e5cfcecb50c897de808431d2f98 Mon Sep 17 00:00:00 2001 From: MascaraSnake Date: Sun, 31 Jul 2022 13:24:45 +0200 Subject: [PATCH] Use the correct bustflags constant --- src/lua_maplib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lua_maplib.c b/src/lua_maplib.c index f65ea852f..b4565121d 100644 --- a/src/lua_maplib.c +++ b/src/lua_maplib.c @@ -1888,7 +1888,7 @@ static INT32 P_GetOldFOFFlags(ffloor_t *fflr) result |= FF_OLD_NORETURN; if (fflr->fofflags & FOF_CRUMBLE) result |= FF_OLD_CRUMBLE; - if (fflr->bustflags & TMFB_ONLYBOTTOM) + if (fflr->bustflags & FB_ONLYBOTTOM) result |= FF_OLD_SHATTERBOTTOM; if (fflr->fofflags & FOF_GOOWATER) result |= FF_OLD_GOOWATER; @@ -2094,9 +2094,9 @@ static void P_SetOldFOFFlags(ffloor_t *fflr, oldffloortype_e oldflags) fflr->busttype = BT_REGULAR; if (oldflags & FF_OLD_SHATTERBOTTOM) - fflr->bustflags |= TMFB_ONLYBOTTOM; + fflr->bustflags |= FB_ONLYBOTTOM; else - fflr->bustflags &= ~TMFB_ONLYBOTTOM; + fflr->bustflags &= ~FB_ONLYBOTTOM; } static int ffloor_set(lua_State *L)