diff --git a/src/p_spec.c b/src/p_spec.c
index 7084b8740e4f75ebeed996d473dd3222b9e13fde..b5523698fc85fdf714596364809587d31285e6f6 100644
--- a/src/p_spec.c
+++ b/src/p_spec.c
@@ -2664,7 +2664,7 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
 
 				// Reset bot too.
 				if (bot) {
-					if (line->flags & ML_NOCLIMB)
+					if (line->args[0])
 						P_TeleportMove(bot, mo->x, mo->y, mo->z);
 					bot->momx = bot->momy = bot->momz = 1;
 					bot->pmomz = 0;