fix .srf file name, when map name contains period, e.g. asd.xxx.map

closes #102
This commit is contained in:
Garux
2022-07-11 23:33:01 +03:00
parent 87a3682c46
commit 22377bb255
2 changed files with 2 additions and 2 deletions

View File

@@ -342,7 +342,7 @@ void EndBSPFile( bool do_write ){
WriteSurfaceExtraFile( source );
/* write the bsp */
auto path = StringOutputStream( 256 )( source, ".bsp" );
const auto path = StringOutputStream( 256 )( source, ".bsp" );
Sys_Printf( "Writing %s\n", path.c_str() );
WriteBSPFile( path );
}