Fixes a minor bug in the guerilla behaviour
This commit is contained in:
parent
aaa8e8c36e
commit
611d8ef4d6
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue