aboutsummaryrefslogtreecommitdiffstats
path: root/code/game/ai_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/game/ai_main.c')
-rw-r--r--code/game/ai_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/game/ai_main.c b/code/game/ai_main.c
index 0250dd9..fb37c28 100644
--- a/code/game/ai_main.c
+++ b/code/game/ai_main.c
@@ -99,7 +99,7 @@ void QDECL BotAI_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) {