Skip to content
Snippets Groups Projects
Commit e619c575 authored by Bruce Cowan's avatar Bruce Cowan
Browse files

Remove unusued (and wrong) logic

parent b1bed417
No related branches found
No related tags found
No related merge requests found
......@@ -22,18 +22,6 @@ struct _RugbyAppWindow
G_DEFINE_TYPE (RugbyAppWindow, rugby_app_window, GTK_TYPE_APPLICATION_WINDOW)
static inline unsigned
get_max_tries (unsigned score)
{
return (score % 5 == 1) ? score / UTRY_POINTS - 1 : score / UTRY_POINTS;
}
static inline unsigned
get_max_kicks (unsigned score)
{
return (score % 3 == 1) ? score / KICK_POINTS : score / KICK_POINTS - 1;
}
static void
scorespin_value_changed_cb (GtkSpinButton *spin,
RugbyAppWindow *self)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment