mirror of
https://github.com/ioquake/ioq3.git
synced 2025-06-02 18:01:34 +00:00
Replace a few sprintf with Com_sprintf
This commit is contained in:
parent
e0a2100df5
commit
eaaaa6f5fc
3 changed files with 5 additions and 5 deletions
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue