Making townsfolk report you to a guard

This commit is contained in:
2014-06-19 20:38:54 -07:00
parent 20b7c02343
commit 0cdce0e81e

View File

@@ -941,7 +941,7 @@ var AISprite = function(game, x, y, key, frame) {
this.path_tweens = [];
prevpos = [this.x, this.y]
for ( var i = 0;
i < Math.min(this.path_maximum_steps, this.path.length) ;
i < this.path.length ;
i++ ) {
pl = this.path[i];
movingstate = STATE_MOVING | STATE_RUNNING;