engine: common: fix hpkextract command

This commit is contained in:
Alibek Omarov 2024-10-26 05:15:09 +03:00
parent fe429fe213
commit cd4f4d5ad4

View file

@ -1055,7 +1055,7 @@ static void HPAK_Extract_f( void )
FS_Seek( f, entry->filepos, SEEK_SET ); FS_Seek( f, entry->filepos, SEEK_SET );
FS_Read( f, pData, nDataSize ); FS_Read( f, pData, nDataSize );
Q_snprintf( szFileOut, sizeof( szFileOut ), "hpklmps\\lmp%04i.bmp", nCurrent ); Q_snprintf( szFileOut, sizeof( szFileOut ), "hpklmps/lmp%04i.bmp", nCurrent );
FS_WriteFile( szFileOut, pData, nDataSize ); FS_WriteFile( szFileOut, pData, nDataSize );
if( pData ) Mem_Free( pData ); if( pData ) Mem_Free( pData );
} }