]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
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)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 12 Dec 2010 13:49:18 +0000 (14:49 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10649 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=ef6014027abab4b524993e33b2698426d259804a

server.h

index 8213444528b24f4ab7608131e1f0e01ca99344da..030ffe7c1893c6d305b64b257f8a4264fcb68d02 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];