Documentation : Add note about identical case branches in NpcAct020
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
parent
c9e63c7694
commit
6f0ffe546f
1 changed files with 2 additions and 2 deletions
|
@ -306,7 +306,7 @@ void ActNpc025(NPCHAR *npc)
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 2:
|
case 2: // Identical to case 4
|
||||||
if (++npc->act_wait <= 0x40)
|
if (++npc->act_wait <= 0x40)
|
||||||
{
|
{
|
||||||
npc->y -= 0x200;
|
npc->y -= 0x200;
|
||||||
|
@ -328,7 +328,7 @@ void ActNpc025(NPCHAR *npc)
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 4:
|
case 4: // Identical to case 2
|
||||||
if (++npc->act_wait <= 0x40)
|
if (++npc->act_wait <= 0x40)
|
||||||
{
|
{
|
||||||
npc->y -= 0x200;
|
npc->y -= 0x200;
|
||||||
|
|
Loading…
Add table
Reference in a new issue