From 0aa3c9b0a3655ae0ef86b435991a2fa0e9ed1f7d Mon Sep 17 00:00:00 2001
From: MascaraSnake <jonassauer27@gmail.com>
Date: Tue, 24 Dec 2019 13:01:17 +0100
Subject: [PATCH] Fixed missing break in offset handling for horizontal springs

---
 src/p_mobj.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/p_mobj.c b/src/p_mobj.c
index 1acecbb763..e8186b752c 100644
--- a/src/p_mobj.c
+++ b/src/p_mobj.c
@@ -11603,6 +11603,7 @@ static fixed_t P_GetMobjSpawnHeight(const mobjtype_t mobjtype, const mapthing_t*
 	case MT_REDHORIZ:
 	case MT_BLUEHORIZ:
 		offset += mthing->options & MTF_AMBUSH ? 16*FRACUNIT : 0;
+		break;
 
 	// Ring-like items, may float additional units with MTF_AMBUSH.
 	case MT_SPIKEBALL:
-- 
GitLab