diff --git a/src/p_user.c b/src/p_user.c
index 997adda6e840fd53997aa32d86588f0f2da8dc98..5430f30a852f6340d4bb263121b5ca6892776447 100644
--- a/src/p_user.c
+++ b/src/p_user.c
@@ -10106,7 +10106,7 @@ static void P_MinecartThink(player_t *player)
 			//	currentSpeed -= FRACUNIT/8;
 
 			// Jumping
-			if ((player->cmd.buttons & BT_JUMP) && !(player->pflags & PF_JUMPDOWN))
+			if (sidelock || ((player->cmd.buttons & BT_JUMP) && !(player->pflags & PF_JUMPDOWN)))
 			{
 				player->pflags |= PF_JUMPDOWN;