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.1.0preview~25 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=03dc6fb6587f3dec81269bbc6b0ec4de3bf6c56f;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 ::stable-branch::merge=ef6014027abab4b524993e33b2698426d259804a --- 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];