Use mapnamespace for doceiling/dofloor compat

This commit is contained in:
NepDisk 2025-02-24 00:42:09 -05:00
parent bfb4042d20
commit 5a8deb7784
2 changed files with 2 additions and 2 deletions

View file

@ -244,7 +244,7 @@ INT32 EV_DoCeiling(mtag_t tag, line_t *line, ceiling_e type)
// This function is deprecated.
// Use any of the following functions directly, instead.
if (!udmf)
if (mapnamespace == MNS_SRB2KART)
{
return EV_DoCeilingOLD(tag,line,type);
}

View file

@ -1596,7 +1596,7 @@ void EV_DoFloor(mtag_t tag, line_t *line, floor_e floortype)
// This function is deprecated.
// Use any of the following functions directly, instead.
if (!udmf)
if (mapnamespace == MNS_SRB2KART)
{
EV_DoFloorOLD(tag, line, floortype);
return;