From f7aac0b3ea4dd65886fce26578a111ff790569d5 Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Sun, 22 Jun 2014 16:41:42 -0700 Subject: [PATCH] Reporting townspeople should send the guard to the player's last known locatio n - more than once --- moonlight/src/AISprite.js | 1 + 1 file changed, 1 insertion(+) diff --git a/moonlight/src/AISprite.js b/moonlight/src/AISprite.js index 20cdb2e..0b12a51 100644 --- a/moonlight/src/AISprite.js +++ b/moonlight/src/AISprite.js @@ -411,6 +411,7 @@ var AISprite = function(game, x, y, key, frame) { } else if ( hasState(this, STATE_RUNNINGTOLIGHT) == false ) { if ( this.target.rotation_timer !== null ) this.target.rotation_timer.stop(); + this.target.path_purge(); this.target.setAwarenessEffect(STATE_ALERTED); this.target.target = this.lastSawPlayerAt; addState(this.target, STATE_RUNNINGTOREPORT);