remove ../ from *BITMAP field export

Doesn't seem to actually affect anything as far as q3map2 is concerned, but it's a bit cleaner this way.
This commit is contained in:
cagelight 2018-08-22 15:52:59 -04:00
parent bb13c48912
commit 55bb8e39bb
2 changed files with 2 additions and 2 deletions

View file

@ -272,7 +272,7 @@ static void ConvertShader( FILE *f, bspShader_t *shader, int shaderNum ){
fprintf( f, "\t\t\t*MAP_SUBNO\t1\r\n" );
fprintf( f, "\t\t\t*MAP_AMOUNT\t1.0\r\n" );
fprintf( f, "\t\t\t*MAP_TYPE\tScreen\r\n" );
fprintf( f, "\t\t\t*BITMAP\t\"..\\%s\"\r\n", shader->shader );
fprintf( f, "\t\t\t*BITMAP\t\"%s\"\r\n", shader->shader );
fprintf( f, "\t\t\t*BITMAP_FILTER\tPyramidal\r\n" );
fprintf( f, "\t\t}\r\n" );

View file

@ -272,7 +272,7 @@ static void ConvertShader( FILE *f, bspShader_t *shader, int shaderNum ){
fprintf( f, "\t\t\t*MAP_SUBNO\t1\r\n" );
fprintf( f, "\t\t\t*MAP_AMOUNT\t1.0\r\n" );
fprintf( f, "\t\t\t*MAP_TYPE\tScreen\r\n" );
fprintf( f, "\t\t\t*BITMAP\t\"..\\%s\"\r\n", shader->shader );
fprintf( f, "\t\t\t*BITMAP\t\"%s\"\r\n", shader->shader );
fprintf( f, "\t\t\t*BITMAP_FILTER\tPyramidal\r\n" );
fprintf( f, "\t\t}\r\n" );