diff --git a/src/p_floor.c b/src/p_floor.c index 818ad1f35..2fbff5453 100644 --- a/src/p_floor.c +++ b/src/p_floor.c @@ -1948,7 +1948,8 @@ void EV_DoMoveFloorByHeight(mtag_t tag, fixed_t height, fixed_t speed, mtag_t ch // chained linedef executing ability // Only set it on one of the moving sectors (the smallest numbered) - if (chain) + boolean kartcheck = (mapnamespace == MNS_SRB2KART) ? firstone : true; + if (kartcheck && chain) dofloor->tag = firstone ? (INT16)chain : -1; // flat changing ability diff --git a/src/p_spec.c b/src/p_spec.c index ba62c3553..4ca222114 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -2637,15 +2637,6 @@ boolean P_ProcessSpecial(activator_t *activator, INT16 special, INT32 *args, cha return false; } - if (mapnamespace == MNS_SRB2KART) - { - if (line->args[2] != TMP_CEILING) - EV_DoFloor(line->args[1], line, moveFloorByFrontSector); - if (line->args[2] != TMP_FLOOR) - EV_DoCeiling(line->args[1], line, moveCeilingByFrontSector); - break; - } - copySector = line->frontsector; } else