From 1733b5c5319d116629c08773101c5877b9dc4c8f Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 13 Jul 2011 21:37:57 +0200 Subject: [PATCH] no need of dummy value --- js/star.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/star.js b/js/star.js index 42643e8..b691052 100644 --- a/js/star.js +++ b/js/star.js @@ -95,7 +95,7 @@ function display_on_canvas( state, canvas_elt ) { for ( var i=0 ; i < LEVEL_HEIGHT ; i++ ) { for ( var j=0 ; j < LEVEL_WIDTH ; j++ ) { var c = get_cell( state, j, i ); - var sprite = "bla"; + var sprite; switch( c ) { case "@": sprite = ( state.moving == cell.BALL ) ? sprites.ball_selected : sprites.ball; break; case "H": sprite = ( state.moving == cell.CUBE ) ? sprites.cube_selected : sprites.cube; break;