projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8845c20
)
fixed setting score info to defaults
author
Holger Schemel
<info@artsoft.org>
Sun, 6 Mar 2022 23:47:41 +0000
(
00:47
+0100)
committer
Holger Schemel
<info@artsoft.org>
Sun, 6 Mar 2022 23:47:41 +0000
(
00:47
+0100)
src/files.c
patch
|
blob
|
history
diff --git
a/src/files.c
b/src/files.c
index 7902221e0c9d4e3513cb9587826c989fff307092..8a8f71f5ff0cd0035a53dd89ca8f2c94cc8a512b 100644
(file)
--- 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;