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:
Gabriel Ravier 2019-05-16 07:20:01 +02:00
parent 33071564a3
commit c64110cf05
No known key found for this signature in database
GPG key ID: 1E75F156884F3DCE

View file

@ -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;