aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/playerdb.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-07-09 01:06:22 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-07-09 01:06:22 +0200
commit52fceb1ec65dc3fe23e98cafd1c0460f775800b4 (patch)
treee143a8bd552dcbeec1af5823826ad1aa2bce3581 /FICS/playerdb.c
parent5a084b215408a8000529ab73830d6276c68bb9ba (diff)
Added 'interface'
Diffstat (limited to 'FICS/playerdb.c')
-rw-r--r--FICS/playerdb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/FICS/playerdb.c b/FICS/playerdb.c
index 00c409c..d137de0 100644
--- a/FICS/playerdb.c
+++ b/FICS/playerdb.c
@@ -260,6 +260,11 @@ player_zero(int p)
parray[p].w_stats.whenbest = 0;
parray[p].w_stats.win = 0;
+ // Used to store the player's interface.
+ // For example: xboard 4.9.1
+ (void) memset(&(parray[p].interface[0]), 0,
+ ARRAY_SIZE(parray[p].interface));
+
return 0;
}