diff options
Diffstat (limited to 'code/renderer')
-rw-r--r-- | code/renderer/tr_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/renderer/tr_init.c b/code/renderer/tr_init.c index 0681919..dfe6ca0 100644 --- a/code/renderer/tr_init.c +++ b/code/renderer/tr_init.c @@ -518,7 +518,7 @@ void R_LevelShot( void ) { float xScale, yScale; int xx, yy; - sprintf( checkname, "levelshots/%s.tga", tr.world->baseName ); + Com_sprintf(checkname, sizeof(checkname), "levelshots/%s.tga", tr.world->baseName); source = ri.Hunk_AllocateTempMemory( glConfig.vidWidth * glConfig.vidHeight * 3 ); |