remove odd closing parenthesis from bsp marker

This commit is contained in:
Garux 2020-01-24 02:47:33 +03:00
parent 25d94dbd2f
commit 08fee05b37
2 changed files with 4 additions and 2 deletions

View File

@ -571,7 +571,8 @@ void WriteIBSPFile( const char *filename ){
/* add marker lump */
time( &t );
sprintf( marker, "I LOVE MY Q3MAP2 %s on %s)", Q3MAP_VERSION, asctime( localtime( &t ) ) );
/* asctime adds an implicit trailing \n */
sprintf( marker, "I LOVE MY Q3MAP2 %s on %s", Q3MAP_VERSION, asctime( localtime( &t ) ) );
AddLump( file, (bspHeader_t*) header, 0, marker, strlen( marker ) + 1 );
/* add lumps */

View File

@ -304,7 +304,8 @@ void WriteRBSPFile( const char *filename ){
/* add marker lump */
time( &t );
sprintf( marker, "I LOVE MY Q3MAP2 %s on %s)", Q3MAP_VERSION, asctime( localtime( &t ) ) );
/* asctime adds an implicit trailing \n */
sprintf( marker, "I LOVE MY Q3MAP2 %s on %s", Q3MAP_VERSION, asctime( localtime( &t ) ) );
AddLump( file, (bspHeader_t*) header, 0, marker, strlen( marker ) + 1 );
/* add lumps */