mirror of https://github.com/tstellar/bygfoot.git
*** empty log message ***
This commit is contained in:
parent
5317e02231
commit
07974ae794
|
@ -77,14 +77,6 @@ callback_player_clicked(gint idx, GdkEventButton *event)
|
|||
if(event->type != GDK_BUTTON_PRESS)
|
||||
return;
|
||||
|
||||
/*d*/
|
||||
gint i;
|
||||
for(i=0;i<ligs->len;i++)
|
||||
printf("%d %s %d \n ", i, lig(i).name->str, lig(i).id);
|
||||
printf("\n");
|
||||
for(i=0;i<cps->len;i++)
|
||||
printf("%d %s %d \n ", i, cp(i).name->str, cp(i).id);
|
||||
|
||||
if(event->button == 1)
|
||||
{
|
||||
if(selected_row[0] == -1)
|
||||
|
|
|
@ -304,7 +304,7 @@ user_weekly_update_counters(User *user)
|
|||
if(rank < rank_bounds[0])
|
||||
user->counters[COUNT_USER_SUCCESS] += (rank_bounds[0] - rank);
|
||||
else if(rank > rank_bounds[1])
|
||||
user->counters[COUNT_USER_SUCCESS] -= (rank - rank_bounds[1])
|
||||
user->counters[COUNT_USER_SUCCESS] -= (rank - rank_bounds[1]);
|
||||
else
|
||||
{
|
||||
if(user->counters[COUNT_USER_SUCCESS] > 0)
|
||||
|
|
Loading…
Reference in New Issue