mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 09:56:22 +01:00
engine: common: fix hpkextract command
This commit is contained in:
parent
fe429fe213
commit
cd4f4d5ad4
@ -1055,7 +1055,7 @@ static void HPAK_Extract_f( void )
|
||||
FS_Seek( f, entry->filepos, SEEK_SET );
|
||||
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 );
|
||||
if( pData ) Mem_Free( pData );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user