Replace a few sprintf with Com_sprintf
This commit is contained in:
1 parent
e0a2100df5
commit
eaaaa6f5fc
3 files changed
+5
-5
No files matched your search
@@ -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 );
|
||||
|
||||
|
||||
Reference in new issue
Block a user