Making AI able to 'see' the player

This commit is contained in:
2014-06-14 16:25:50 -07:00
parent 06e61f1a1a
commit d1e9c1feb6

View File

@@ -1123,7 +1123,7 @@ GameState.prototype.update = function()
var r = x.viewRectangle();
if ( r == null )
return;
this.shadowTexture.context.fillStyle = 'rgba(128, 128, 128)';
this.shadowTexture.context.fillStyle = 'rgb(128, 128, 128)';
this.shadowTexture.context.fillRect(r.left,
r.top,
r.right,