aboutsummaryrefslogtreecommitdiffstats
path: root/code/server/sv_bot.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/server/sv_bot.c')
-rw-r--r--code/server/sv_bot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/server/sv_bot.c b/code/server/sv_bot.c
index 2996561..b0fc1e8 100644
--- a/code/server/sv_bot.c
+++ b/code/server/sv_bot.c
@@ -139,7 +139,7 @@ void QDECL BotImport_Print(int type, char *fmt, ...)
va_list ap;
va_start(ap, fmt);
- vsprintf(str, fmt, ap);
+ Q_vsnprintf(str, sizeof(str), fmt, ap);
va_end(ap);
switch(type) {