From 63b1c060b34df5317f42b84f3a86ed354243c141 Mon Sep 17 00:00:00 2001 From: gyboth Date: Thu, 6 Nov 2008 10:13:36 +0000 Subject: [PATCH] Next opponent goalie values bug. --- src/game.c | 5 ----- src/treeview.c | 3 --- 2 files changed, 8 deletions(-) diff --git a/src/game.c b/src/game.c index 7ffddc2d..096e1e66 100644 --- a/src/game.c +++ b/src/game.c @@ -114,11 +114,6 @@ game_get_player_contribution(const Player *pl, gint type, gboolean special) const_float("float_player_team_weight_forward_midfield"), const_float("float_player_team_weight_forward_attack")}}; - if(pl->cpos == PLAYER_POS_GOALIE) - printf("plgamesk %.1f, weight %.1f\n", - player_get_game_skill(pl, FALSE, special), player_weights[pl->cpos - 1][type - GAME_TEAM_VALUE_DEFEND]); - - return player_get_game_skill(pl, FALSE, special) * player_weights[pl->cpos - 1][type - GAME_TEAM_VALUE_DEFEND]; } diff --git a/src/treeview.c b/src/treeview.c index 95270fb9..6643896f 100644 --- a/src/treeview.c +++ b/src/treeview.c @@ -1596,9 +1596,6 @@ treeview_create_next_opponent_values(GtkListStore *ls, const Fixture *fix) for(i=0;i<4;i++) { - printf("%d tv %.1f %.1f maxval %.1f maxpip %d\n", - i, team_values[0][i], team_values[1][i], max_values[i], const_int("int_treeview_max_pipes")); - strcpy(buf2, ""); for(j=0;j<(gint)rint((gfloat)const_int("int_treeview_max_pipes") * (team_values[fix->teams[0] == current_user.tm][i] / max_values[i]));j++)