Use mapnamespace for doceiling/dofloor compat
This commit is contained in:
parent
bfb4042d20
commit
5a8deb7784
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue