Fixes a minor bug in the guerilla behaviour

This commit is contained in:
Linus Probert 2018-08-06 19:38:27 +02:00
parent aaa8e8c36e
commit 611d8ef4d6
1 changed files with 3 additions and 0 deletions

View File

@ -98,11 +98,14 @@ monster_behaviour_check_post_hit(Monster *m)
{ {
if (m->state.current == STUNNED) if (m->state.current == STUNNED)
return; return;
switch (m->behaviour) { switch (m->behaviour) {
case PACIFIST: case PACIFIST:
case COWARD: case COWARD:
monster_state_change(m, SCARED); monster_state_change(m, SCARED);
break; break;
case GUERILLA:
break;
default: default:
monster_state_change(m, AGRESSIVE); monster_state_change(m, AGRESSIVE);
break; break;