More wandering sprite work
This commit is contained in:
@@ -178,7 +178,7 @@ SPRITE_TOWNSFOLK_GUARD2 = 10;
|
||||
var WanderingSprite = function(game, x, y, spritetype) {
|
||||
this.update = function()
|
||||
{
|
||||
if ( game.rnd.integerInRange(0, 100) > 80 )
|
||||
if ( game.rnd.integerInRange(0, 100) < 80 )
|
||||
return;
|
||||
|
||||
running = [true, false][game.rnd.integerInRange(0, 1)];
|
||||
|
||||
Reference in New Issue
Block a user