Replace a few sprintf with Com_sprintf

This commit is contained in:
Thilo Schulz committed 2009-06-01 00:18:02 +00:00
1 parent e0a2100df5
commit eaaaa6f5fc
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -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 );