summaryrefslogtreecommitdiff
path: root/src/game/g_team.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_team.c')
-rw-r--r--src/game/g_team.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_team.c b/src/game/g_team.c
index 7d54c5fb..b0088ff5 100644
--- a/src/game/g_team.c
+++ b/src/game/g_team.c
@@ -32,7 +32,7 @@ void QDECL PrintMsg( gentity_t *ent, const char *fmt, ... )
va_start( argptr,fmt );
- if( vsprintf( msg, fmt, argptr ) > sizeof( msg ) )
+ if( Q_vsnprintf( msg, sizeof( msg ), fmt, argptr ) > sizeof( msg ) )
G_Error ( "PrintMsg overrun" );
va_end( argptr );