Add more stuff to mapnamespace

This commit is contained in:
NepDisk 2025-02-24 00:53:59 -05:00
parent 5a8deb7784
commit 3779da57a5
2 changed files with 2 additions and 2 deletions

View file

@ -745,7 +745,7 @@ INT32 EV_DoCrush(mtag_t tag, line_t *line, ceiling_e type)
fixed_t speed = line->args[2] << (FRACBITS - 2);
if (!udmf)
if (mapnamespace == MNS_SRB2KART)
{
return EV_DoCrushOLD(tag,line,type);
}

View file

@ -12181,7 +12181,7 @@ static mobj_t *P_SpawnMobjFromMapThing(mapthing_t *mthing, fixed_t x, fixed_t y,
mthing->mobj = mobj;
if (!udmf && (mthing->options & MTF_AMBUSH))
if ((mapnamespace == MNS_SRB2KART) && (mthing->options & MTF_AMBUSH))
P_SetAmbush(mthing, mobj);
// Generic reverse gravity for individual objects flag.