mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-01-23 10:00:41 +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 "g_local.h"
|
||||||
#include "../botlib/botlib.h"
|
#include "../botlib/botlib.h"
|
||||||
#include "../botlib/be_aas.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 "g_local.h"
|
||||||
#include "../qcommon/q_shared.h"
|
#include "../qcommon/q_shared.h"
|
||||||
#include "../botlib/botlib.h" //bot lib interface
|
#include "../botlib/botlib.h" //bot lib interface
|
||||||
|
|
|
@ -578,7 +578,7 @@ void DeathmatchScoreboardMessage(gentity_t * ent)
|
||||||
);
|
);
|
||||||
|
|
||||||
j = strlen(entry);
|
j = strlen(entry);
|
||||||
if (stringlength + j > 1024)
|
if (stringlength + j >= sizeof(string))
|
||||||
break;
|
break;
|
||||||
strcpy(string + stringlength, entry);
|
strcpy(string + stringlength, entry);
|
||||||
stringlength += j;
|
stringlength += j;
|
||||||
|
|
Loading…
Reference in a new issue