Making townsfolk report you to a guard
This commit is contained in:
@@ -941,7 +941,7 @@ var AISprite = function(game, x, y, key, frame) {
|
|||||||
this.path_tweens = [];
|
this.path_tweens = [];
|
||||||
prevpos = [this.x, this.y]
|
prevpos = [this.x, this.y]
|
||||||
for ( var i = 0;
|
for ( var i = 0;
|
||||||
i < Math.min(this.path_maximum_steps, this.path.length) ;
|
i < this.path.length ;
|
||||||
i++ ) {
|
i++ ) {
|
||||||
pl = this.path[i];
|
pl = this.path[i];
|
||||||
movingstate = STATE_MOVING | STATE_RUNNING;
|
movingstate = STATE_MOVING | STATE_RUNNING;
|
||||||
|
|||||||
Reference in New Issue
Block a user