compute_dynamic_score() adds the two values for the numplayed and the
lasteplayed score. No need to duplicate this code here.
if (ret < 0)
return ret;
}
if (ret < 0)
return ret;
}
- score += compute_num_played_score(&afsi);
- score += compute_last_played_score(&afsi);
+ score += compute_dynamic_score(&afsi);
score /= 3;
PARA_DEBUG_LOG("score: %li\n", score);
percent = (score + 100) / 3;
score /= 3;
PARA_DEBUG_LOG("score: %li\n", score);
percent = (score + 100) / 3;