shithub: cstory

Download patch

ref: 7ddcbfaa73ffb826fe58f0569692b8d65cf5b4ae
parent: 347f9282fe1caff5ebca0c76a2de0b47faad630a
author: Gabriel Ravier <gabravier@gmail.com>
date: Mon Nov 4 06:27:04 EST 2019

Add note about identical case branches

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>

--- a/src/BossX.cpp
+++ b/src/BossX.cpp
@@ -766,7 +766,7 @@
 			gBoss[1].act_no = 20;
 			gBoss[2].act_no = 20;
 			// Fallthrough
-		case 503:
+		case 503:	// Exactly identical to case 603
 			if (++npc->act_wait > 50)
 			{
 				if (npc->x > gMC.x)
@@ -803,7 +803,7 @@
 			gBoss[2].act_no = 40;
 			// Fallthrough
 
-		case 603:
+		case 603:	// Exactly identical to case 503
 			if (++npc->act_wait > 50)
 			{
 				if (npc->x > gMC.x)