Add note about identical case branches
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
parent
347f9282fe
commit
7ddcbfaa73
1 changed files with 2 additions and 2 deletions
|
@ -766,7 +766,7 @@ void ActBossChar_MonstX(void)
|
||||||
gBoss[1].act_no = 20;
|
gBoss[1].act_no = 20;
|
||||||
gBoss[2].act_no = 20;
|
gBoss[2].act_no = 20;
|
||||||
// Fallthrough
|
// Fallthrough
|
||||||
case 503:
|
case 503: // Exactly identical to case 603
|
||||||
if (++npc->act_wait > 50)
|
if (++npc->act_wait > 50)
|
||||||
{
|
{
|
||||||
if (npc->x > gMC.x)
|
if (npc->x > gMC.x)
|
||||||
|
@ -803,7 +803,7 @@ void ActBossChar_MonstX(void)
|
||||||
gBoss[2].act_no = 40;
|
gBoss[2].act_no = 40;
|
||||||
// Fallthrough
|
// Fallthrough
|
||||||
|
|
||||||
case 603:
|
case 603: // Exactly identical to case 503
|
||||||
if (++npc->act_wait > 50)
|
if (++npc->act_wait > 50)
|
||||||
{
|
{
|
||||||
if (npc->x > gMC.x)
|
if (npc->x > gMC.x)
|
||||||
|
|
Loading…
Add table
Reference in a new issue