From fa45c0ef10c513bc1755878af7ccddd2a23386b8 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Fri, 15 Jul 2011 11:51:09 +0200 Subject: [PATCH] add default --- js/star.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/star.js b/js/star.js index 8353657..1a98ff3 100644 --- a/js/star.js +++ b/js/star.js @@ -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 ); }