diff --git a/src/debug.c b/src/debug.c index 0a734099..6ff15296 100644 --- a/src/debug.c +++ b/src/debug.c @@ -294,27 +294,3 @@ debug_calibrate_betting_odds(gint skilldiffmax, gint matches_per_skilldiff) (gfloat)res[1] / (gfloat)matches, (gfloat)res[2] / (gfloat)matches); } } - -/** Check whether the 4 forwards, boost on, style all-out-attack - easter egg should be activated. */ -gboolean -debug_egg_forwards_boost_style(void) -{ -#ifdef DEBUG - printf("debug_egg_forwards_boost_style\n"); -#endif - - gint i, fwds = 0; - - if(current_user.tm->boost != 1 || - current_user.tm->style != 2 || - current_user.tm->players->len < 11) - return FALSE; - - for(i=0;i<11;i++) - if(g_array_index(current_user.tm->players, Player, i).cpos == 3 && - g_array_index(current_user.tm->players, Player, i).cskill > 0) - fwds++; - - return (fwds > 3); -} diff --git a/src/debug.h b/src/debug.h index 4cfe9990..1ae03005 100644 --- a/src/debug.h +++ b/src/debug.h @@ -45,9 +45,6 @@ debug_reset_counter(gpointer data); void debug_calibrate_betting_odds(gint skilldiffmax, gint matches_per_skilldiff); -gboolean -debug_egg_forwards_boost_style(void); - void debug_writer_out(const gchar *file_name, const gchar *method_name, diff --git a/src/window.c b/src/window.c index e7b1ad94..3baaccab 100644 --- a/src/window.c +++ b/src/window.c @@ -202,16 +202,6 @@ window_show_progress(gint pictype) GTK_ICON_SIZE_DIALOG); break; case PIC_TYPE_MATCHPIC: - if(debug_egg_forwards_boost_style()) - { - buf2 = file_find_support_file("soccerbabes.jpg", FALSE); - if(buf2 != NULL) - { - gtk_image_set_from_file(image, buf2); - g_free(buf2); - } - } - if(buf2 == NULL) { picdir = file_get_first_support_dir_suffix("pics");