Skip to content

Commit

Permalink
fix potential compilation error (found by @Gamizard)
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfdsfgs committed May 23, 2022
1 parent 86ee9c3 commit 3385e08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/game/npc_act/npc_act_060.c
Original file line number Diff line number Diff line change
Expand Up @@ -717,9 +717,10 @@ void npc_act_066(npc_t *npc) {
{56, 216, 80, 240},
};

int a;

switch (npc->act) {
case 0:
int a;
for (a = 0; a <= npc_list_max; ++a)
if (npc_list[a].event_num == 1000) break;

Expand Down

0 comments on commit 3385e08

Please sign in to comment.