diff options
Diffstat (limited to 'apps/plugins/doom')
-rw-r--r-- | apps/plugins/doom/p_ceilng.c | 3 | ||||
-rw-r--r-- | apps/plugins/doom/p_floor.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/doom/p_ceilng.c b/apps/plugins/doom/p_ceilng.c index db5a701b1a..f83bdc0260 100644 --- a/apps/plugins/doom/p_ceilng.c +++ b/apps/plugins/doom/p_ceilng.c | |||
@@ -121,6 +121,7 @@ void T_MoveCeiling (ceiling_t* ceiling) | |||
121 | // crushers reverse direction at the top | 121 | // crushers reverse direction at the top |
122 | case silentCrushAndRaise: | 122 | case silentCrushAndRaise: |
123 | S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop); | 123 | S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop); |
124 | /* fallthrough */ | ||
124 | case genSilentCrusher: | 125 | case genSilentCrusher: |
125 | case genCrusher: | 126 | case genCrusher: |
126 | case fastCrushAndRaise: | 127 | case fastCrushAndRaise: |
@@ -177,8 +178,10 @@ void T_MoveCeiling (ceiling_t* ceiling) | |||
177 | // except generalized ones, reset speed, start back up | 178 | // except generalized ones, reset speed, start back up |
178 | case silentCrushAndRaise: | 179 | case silentCrushAndRaise: |
179 | S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop); | 180 | S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop); |
181 | /* fallthrough */ | ||
180 | case crushAndRaise: | 182 | case crushAndRaise: |
181 | ceiling->speed = CEILSPEED; | 183 | ceiling->speed = CEILSPEED; |
184 | /* fallthrough */ | ||
182 | case fastCrushAndRaise: | 185 | case fastCrushAndRaise: |
183 | ceiling->direction = 1; | 186 | ceiling->direction = 1; |
184 | break; | 187 | break; |
diff --git a/apps/plugins/doom/p_floor.c b/apps/plugins/doom/p_floor.c index f4dbcd04f5..953e4dd09d 100644 --- a/apps/plugins/doom/p_floor.c +++ b/apps/plugins/doom/p_floor.c | |||
@@ -503,6 +503,7 @@ int EV_DoFloor | |||
503 | 503 | ||
504 | case raiseFloorCrush: | 504 | case raiseFloorCrush: |
505 | floor->crush = true; | 505 | floor->crush = true; |
506 | /* fallthrough */ | ||
506 | case raiseFloor: | 507 | case raiseFloor: |
507 | floor->direction = 1; | 508 | floor->direction = 1; |
508 | floor->sector = sec; | 509 | floor->sector = sec; |