Making townsfolk report you to a guard

This commit is contained in:
2014-06-19 20:02:43 -07:00
parent d0c9036914
commit 9584e3aefb

View File

@@ -1079,7 +1079,10 @@ var AISprite = function(game, x, y, key, frame) {
this.path_tween_stop();
this.path_purge();
}
this.chasetarget(this.target);
this.chasetarget(this.target,
STATE_ALERTED,
STATE_MOVING | STATE_RUNNING,
false);
}
}