add default

This commit is contained in:
Gwenhael Le Moine 2011-07-15 11:51:09 +02:00
parent 245475656f
commit dcd0c7aaf3

View file

@ -154,6 +154,7 @@ function initialize_a_star( dom_container, level_index ) {
case "#": sprite = assets.sprites.wall; break;
case "x": sprite = assets.sprites.gift; break;
case " ": sprite = assets.sprites.void; break;
default: break;
}
draw_cell( sprite, j, i );
}