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)
return;
switch (m->behaviour) {
case PACIFIST:
case COWARD:
monster_state_change(m, SCARED);
break;
case GUERILLA:
break;
default:
monster_state_change(m, AGRESSIVE);
break;