From: divverent Date: Thu, 9 Dec 2010 11:04:30 +0000 (+0000) Subject: use MAX_SCOREBOARDNAME instead of a hardcoded 64 bytes length in one struct definition X-Git-Tag: xonotic-v0.5.0~438^2~192 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ef6014027abab4b524993e33b2698426d259804a;p=xonotic%2Fdarkplaces.git use MAX_SCOREBOARDNAME instead of a hardcoded 64 bytes length in one struct definition git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10649 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/server.h b/server.h index 82134445..030ffe7c 100644 --- a/server.h +++ b/server.h @@ -228,7 +228,7 @@ typedef struct client_s float spawn_parms[NUM_SPAWN_PARMS]; // properties that are sent across the network only when changed - char name[64], old_name[64]; + char name[MAX_SCOREBOARDNAME], old_name[MAX_SCOREBOARDNAME]; int colors, old_colors; int frags, old_frags; char playermodel[MAX_QPATH], old_model[MAX_QPATH];