This commit is contained in:
2014-06-15 13:00:57 -07:00
parent 2a8a8127a6
commit df31fa4de6

View File

@@ -748,8 +748,10 @@ var AISprite = function(game, x, y, key, frame) {
}
}
if ( this.sprite_canmove == false)
if ( this.sprite_canmove == false) {
this.body.immovable = true;
return;
}
if ( game.rnd.integerInRange(0, 100) < 95 )
return;
if ( game.rnd.integerInRange(0, 100) > 90 ) {