Urm, whoops.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@869 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
90bd03f65e
commit
4709d89842
2 changed files with 3 additions and 9 deletions
|
@ -1040,7 +1040,7 @@ long UI_SystemCallsEx(void *offset, unsigned int mask, int fn, const long *arg)
|
|||
}
|
||||
vci->bottomcolour = cl.players[i].bottomcolor;
|
||||
vci->frags = cl.players[i].frags;
|
||||
strcpy(vci->name, cl.players[i].name);
|
||||
Q_strncpyz(vci->name, cl.players[i].name, UIMAX_SCOREBOARDNAME);
|
||||
vci->ping = cl.players[i].ping;
|
||||
vci->pl = cl.players[i].pl;
|
||||
vci->starttime = cl.players[i].entertime;
|
||||
|
|
|
@ -3,15 +3,9 @@
|
|||
#define UIMAX_SCOREBOARDNAME 16
|
||||
#define UIMAX_INFO_STRING 196
|
||||
|
||||
#ifdef MAX_SCOREBOARDNAME
|
||||
#if MAX_SCOREBOARDNAME != UIMAX_SCOREBOARDNAME
|
||||
#pragma message("MAX_SCOREBOARDNAME doesn't match UIMAX_SCOREBOARDNAME")
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef UIMAX_INFO_STRING
|
||||
#if UIMAX_INFO_STRING != UIMAX_INFO_STRING
|
||||
#pragma message("MAX_SCOREBOARDNAME doesn't match UIMAX_SCOREBOARDNAME")
|
||||
#if MAX_INFO_STRING != UIMAX_INFO_STRING
|
||||
#pragma message("MAX_INFO_STRING doesn't match UIMAX_INFO_STRING")
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue