diff --git a/src/p_ceilng.c b/src/p_ceilng.c index cef08b5ee..d781fd047 100644 --- a/src/p_ceilng.c +++ b/src/p_ceilng.c @@ -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); } diff --git a/src/p_floor.c b/src/p_floor.c index f3bf5100b..db6cf162e 100644 --- a/src/p_floor.c +++ b/src/p_floor.c @@ -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;