Cleaned up NpcAct260.cpp
Also changed regex to "((//|\;)[^ \t\n]|(for|while|if|while|do|void|int|bool)\((for|while|if|while|do)\ \(.*\)\|\ \)|\(\ |//\ [a-z]|\ \ )|break;\n[\t]*case"
This commit is contained in:
parent
33071564a3
commit
c64110cf05
1 changed files with 30 additions and 24 deletions
|
@ -724,18 +724,22 @@ void ActNpc267(NPCHAR *npc)
|
|||
case 8:
|
||||
npc->act_no = 20;
|
||||
break;
|
||||
|
||||
case 2:
|
||||
case 7:
|
||||
npc->act_no = 100;
|
||||
break;
|
||||
|
||||
case 3:
|
||||
case 6:
|
||||
npc->act_no = 30;
|
||||
break;
|
||||
|
||||
case 1:
|
||||
case 9:
|
||||
npc->act_no = 40;
|
||||
break;
|
||||
|
||||
default:
|
||||
npc->act_no = 15;
|
||||
npc->act_wait = 0;
|
||||
|
@ -2165,6 +2169,7 @@ void ActNpc279(NPCHAR *npc)
|
|||
npc->bits |= 4;
|
||||
npc->ani_no = 0;
|
||||
break;
|
||||
|
||||
case 2:
|
||||
npc->act_no = 100;
|
||||
npc->bits |= 4;
|
||||
|
@ -2178,6 +2183,7 @@ void ActNpc279(NPCHAR *npc)
|
|||
npc->hit.top = 0x1000;
|
||||
npc->hit.bottom = 0x1000;
|
||||
break;
|
||||
|
||||
case 1:
|
||||
npc->ani_no = 0;
|
||||
npc->act_no = 10;
|
||||
|
|
Loading…
Add table
Reference in a new issue