From: Holger Schemel Date: Sun, 6 Mar 2022 23:47:41 +0000 (+0100) Subject: fixed setting score info to defaults X-Git-Tag: 4.3.2.0~96 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=3afd1320e485dfb757c0baacb4b86dc3164fa53f;p=rocksndiamonds.git fixed setting score info to defaults --- diff --git a/src/files.c b/src/files.c index 7902221e..8a8f71f5 100644 --- a/src/files.c +++ b/src/files.c @@ -8650,6 +8650,13 @@ static void setScoreInfoToDefaultsExt(struct ScoreInfo *scores) strcpy(scores->entry[i].name, EMPTY_PLAYER_NAME); scores->entry[i].score = 0; scores->entry[i].time = 0; + + scores->entry[i].id = -1; + strcpy(scores->entry[i].tape_date, UNKNOWN_NAME); + strcpy(scores->entry[i].platform, UNKNOWN_NAME); + strcpy(scores->entry[i].version, UNKNOWN_NAME); + strcpy(scores->entry[i].country_name, UNKNOWN_NAME); + strcpy(scores->entry[i].country_code, "??"); } scores->num_entries = 0;