diff options
Diffstat (limited to 'apps/plugins/snake2.c')
-rw-r--r-- | apps/plugins/snake2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/snake2.c b/apps/plugins/snake2.c index b850dfbe11..350beb6dc1 100644 --- a/apps/plugins/snake2.c +++ b/apps/plugins/snake2.c | |||
@@ -351,7 +351,7 @@ int load_all_levels(void) | |||
351 | num_levels++; | 351 | num_levels++; |
352 | if(num_levels > max_levels) | 352 | if(num_levels > max_levels) |
353 | { | 353 | { |
354 | rb->splash(HZ, true, "Too many levels in file"); | 354 | rb->splash(HZ, "Too many levels in file"); |
355 | break; | 355 | break; |
356 | } | 356 | } |
357 | continue; | 357 | continue; |
@@ -834,7 +834,7 @@ void die (void) | |||
834 | bool done=false; | 834 | bool done=false; |
835 | char pscore[20]; | 835 | char pscore[20]; |
836 | 836 | ||
837 | rb->splash(HZ*2, true, "Oops!"); | 837 | rb->splash(HZ*2, "Oops!"); |
838 | 838 | ||
839 | rb->lcd_clear_display(); | 839 | rb->lcd_clear_display(); |
840 | 840 | ||
@@ -914,7 +914,7 @@ void collision ( int x, int y ) | |||
914 | num_apples_to_get+=2; | 914 | num_apples_to_get+=2; |
915 | game_b_level++; | 915 | game_b_level++; |
916 | } | 916 | } |
917 | rb->splash(HZ, true, "Level Completed!"); | 917 | rb->splash(HZ, "Level Completed!"); |
918 | rb->lcd_clear_display(); | 918 | rb->lcd_clear_display(); |
919 | new_level(level_from_file); | 919 | new_level(level_from_file); |
920 | rb->lcd_clear_display(); | 920 | rb->lcd_clear_display(); |
@@ -1357,7 +1357,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
1357 | load_all_levels(); | 1357 | load_all_levels(); |
1358 | 1358 | ||
1359 | if (num_levels == 0) { | 1359 | if (num_levels == 0) { |
1360 | rb->splash(HZ*2, true, "Failed loading levels!"); | 1360 | rb->splash(HZ*2, "Failed loading levels!"); |
1361 | return PLUGIN_OK; | 1361 | return PLUGIN_OK; |
1362 | } | 1362 | } |
1363 | 1363 | ||