mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-18 01:51:39 +00:00
Use the correct bustflags constant
This commit is contained in:
parent
1049eca15e
commit
7389e2ceb6
1 changed files with 3 additions and 3 deletions
|
@ -1888,7 +1888,7 @@ static INT32 P_GetOldFOFFlags(ffloor_t *fflr)
|
||||||
result |= FF_OLD_NORETURN;
|
result |= FF_OLD_NORETURN;
|
||||||
if (fflr->fofflags & FOF_CRUMBLE)
|
if (fflr->fofflags & FOF_CRUMBLE)
|
||||||
result |= FF_OLD_CRUMBLE;
|
result |= FF_OLD_CRUMBLE;
|
||||||
if (fflr->bustflags & TMFB_ONLYBOTTOM)
|
if (fflr->bustflags & FB_ONLYBOTTOM)
|
||||||
result |= FF_OLD_SHATTERBOTTOM;
|
result |= FF_OLD_SHATTERBOTTOM;
|
||||||
if (fflr->fofflags & FOF_GOOWATER)
|
if (fflr->fofflags & FOF_GOOWATER)
|
||||||
result |= FF_OLD_GOOWATER;
|
result |= FF_OLD_GOOWATER;
|
||||||
|
@ -2094,9 +2094,9 @@ static void P_SetOldFOFFlags(ffloor_t *fflr, oldffloortype_e oldflags)
|
||||||
fflr->busttype = BT_REGULAR;
|
fflr->busttype = BT_REGULAR;
|
||||||
|
|
||||||
if (oldflags & FF_OLD_SHATTERBOTTOM)
|
if (oldflags & FF_OLD_SHATTERBOTTOM)
|
||||||
fflr->bustflags |= TMFB_ONLYBOTTOM;
|
fflr->bustflags |= FB_ONLYBOTTOM;
|
||||||
else
|
else
|
||||||
fflr->bustflags &= ~TMFB_ONLYBOTTOM;
|
fflr->bustflags &= ~FB_ONLYBOTTOM;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ffloor_set(lua_State *L)
|
static int ffloor_set(lua_State *L)
|
||||||
|
|
Loading…
Reference in a new issue