Add wandering sprites back to map via map objects

This commit is contained in:
2014-06-13 02:15:57 -07:00
parent 408ecc167c
commit 7f930dfc33

View File

@@ -757,7 +757,7 @@ var AISprite = function(game, x, y, key, frame) {
'townsfolk-guard-1',
'townsfolk-guard-2'
];
Phaser.Sprite.call(this, game, x, y, "townsfolk-male-1");
Phaser.Sprite.call(this, game, x, y, null);
game.physics.arcade.enable(this);
this.body.collideWorldBounds = true;