use MAX_SCOREBOARDNAME instead of a hardcoded 64 bytes length in one struct definition
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 9 Dec 2010 11:04:30 +0000 (11:04 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 9 Dec 2010 11:04:30 +0000 (11:04 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10649 d7cf8633-e32d-0410-b094-e92efae38249

server.h

index 8213444..030ffe7 100644 (file)
--- 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];