OPENAL_SetPaused(channels[whooshsound], true);
OPENAL_SetPaused(channels[stream_firesound], true);
+ // Change the map filename into something that is os specific
+ char *FixedFN = ConvertFileName(name);
+
int mapvers;
FILE *tfile;
- tfile=fopen( name, "rb" );
+ tfile=fopen( FixedFN, "rb" );
if(tfile)
{
OPENAL_SetPaused(channels[stream_firesound], true);
FILE *tfile;
- tfile=fopen( mapname, "wb" );
+ tfile=fopen( ConvertFileName(mapname), "wb" );
fpackf(tfile, "Bi", mapvers);
//fpackf(tfile, "Bi", indemo);
fpackf(tfile, "Bi", maptype);