diff --git a/bygfoot_misc2.glade b/bygfoot_misc2.glade index 48cd32ff..be5b8f49 100644 --- a/bygfoot_misc2.glade +++ b/bygfoot_misc2.glade @@ -940,7 +940,7 @@ GTK_UPDATE_ALWAYS False False - 1 0 100000000 10 1000 0 + 1 0 100000000 100 1000 0 @@ -998,7 +998,7 @@ GTK_UPDATE_ALWAYS False False - 1 0 100000000 1 100 0 + 1 0 100000000 10 100 0 diff --git a/src/misc2_interface.c b/src/misc2_interface.c index 8639acd8..6a256ebb 100644 --- a/src/misc2_interface.c +++ b/src/misc2_interface.c @@ -423,7 +423,7 @@ create_window_digits (void) gtk_widget_show (label_1); gtk_box_pack_start (GTK_BOX (vbox15), label_1, FALSE, FALSE, 0); - spinbutton1_adj = gtk_adjustment_new (1, 0, 100000000, 10, 1000, 0); + spinbutton1_adj = gtk_adjustment_new (1, 0, 100000000, 100, 1000, 0); spinbutton1 = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton1_adj), 1, 0); gtk_widget_show (spinbutton1); gtk_box_pack_start (GTK_BOX (vbox15), spinbutton1, FALSE, FALSE, 0); @@ -437,7 +437,7 @@ create_window_digits (void) gtk_widget_show (label_2); gtk_box_pack_start (GTK_BOX (vbox16), label_2, FALSE, FALSE, 0); - spinbutton2_adj = gtk_adjustment_new (1, 0, 100000000, 1, 100, 0); + spinbutton2_adj = gtk_adjustment_new (1, 0, 100000000, 10, 100, 0); spinbutton2 = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton2_adj), 1, 0); gtk_widget_show (spinbutton2); gtk_box_pack_start (GTK_BOX (vbox16), spinbutton2, FALSE, FALSE, 0); diff --git a/src/transfer.c b/src/transfer.c index 1f751a0f..f14ab51d 100644 --- a/src/transfer.c +++ b/src/transfer.c @@ -337,7 +337,7 @@ transfer_add_player(Player *pl, gint time) math_rnd(-(i + 1) * const_float("float_transfer_scout_deviance_wage"), (i + 1) * const_float("float_transfer_scout_deviance_wage")); new.fee[i] = math_round_integer( - (gint)rint((gfloat)pl->value * (1 + deviance_value)), 2); + (gint)rint((gfloat)pl->value * (1 + deviance_value)), 3); new.wage[i] = math_round_integer( (gint)rint((gfloat)pl->wage * (1 + deviance_wage)), 2); }