Making AI able to 'see' the player

This commit is contained in:
2014-06-14 16:18:30 -07:00
parent 6821c10f9f
commit 6369d843d4

View File

@@ -1122,7 +1122,7 @@ GameState.prototype.update = function()
function _draw_viewrect(x) {
var r = x.viewRectangle();
if ( r == null )
continue;
return;
this.shadowTexture.context.fillStyle = 'rgba(255, 255, 255)';
this.shadowTexture.context.fillRect(r.left,
r.top,