From: Holger Schemel Date: Sat, 20 Mar 2021 10:12:20 +0000 (+0100) Subject: added some comments X-Git-Tag: 4.3.0.0~202 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=1cc911d9cff33d6bed8eb427c8a04b232fa71173;p=rocksndiamonds.git added some comments --- diff --git a/src/screens.c b/src/screens.c index c538c84e..c60881af 100644 --- a/src/screens.c +++ b/src/screens.c @@ -5072,17 +5072,17 @@ void DrawHallOfFame(int level_nr, int highlight_position) static char *getHallOfFameScoreText(int nr) { if (!level.rate_time_over_score) - return int2str(scores.entry[nr].score, 5); + return int2str(scores.entry[nr].score, 5); // show normal score if (level.use_step_counter) - return int2str(scores.entry[nr].time, 5); + return int2str(scores.entry[nr].time, 5); // show number of steps static char score_text[10]; int time_seconds = scores.entry[nr].time / FRAMES_PER_SECOND; int mm = (time_seconds / 60) % 60; int ss = (time_seconds % 60); - sprintf(score_text, "%02d:%02d", mm, ss); + sprintf(score_text, "%02d:%02d", mm, ss); // show playing time return score_text; }