mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-10 07:11:36 +00:00
Misc changes from ioq3
This commit is contained in:
parent
724f8f4bf2
commit
6d38b978fe
3 changed files with 5 additions and 1 deletions
|
@ -186,6 +186,8 @@
|
|||
*
|
||||
*****************************************************************************/
|
||||
|
||||
// JBravo: Here be dragons. ioquake3's ai_dmq3.c rev 2116 meight have something for us.
|
||||
|
||||
#include "g_local.h"
|
||||
#include "../botlib/botlib.h"
|
||||
#include "../botlib/be_aas.h"
|
||||
|
|
|
@ -50,6 +50,8 @@
|
|||
*
|
||||
*****************************************************************************/
|
||||
|
||||
// JBravo: here be dragons. ioquake3's ai_main.c rev 2116 meight have something for us
|
||||
|
||||
#include "g_local.h"
|
||||
#include "../qcommon/q_shared.h"
|
||||
#include "../botlib/botlib.h" //bot lib interface
|
||||
|
|
|
@ -578,7 +578,7 @@ void DeathmatchScoreboardMessage(gentity_t * ent)
|
|||
);
|
||||
|
||||
j = strlen(entry);
|
||||
if (stringlength + j > 1024)
|
||||
if (stringlength + j >= sizeof(string))
|
||||
break;
|
||||
strcpy(string + stringlength, entry);
|
||||
stringlength += j;
|
||||
|
|
Loading…
Reference in a new issue