mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-05-31 08:50:54 +00:00
Prioritize source SWF and image (for SWF atlas) files over their binary equivalents in resources files when not in production mode. Now you can replace individual menus without having to extract and delete all the base/*.resources files first.
This commit is contained in:
parent
adf2b63e88
commit
4c7a2c5de3
2 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ bool idSWF::LoadBinary( const char* bfilename, ID_TIME_T sourceTime )
|
|||
f->ReadBig( magic );
|
||||
f->ReadBig( btimestamp );
|
||||
|
||||
if( magic != BSWF_MAGIC || ( !fileSystem->InProductionMode() && sourceTime != btimestamp ) )
|
||||
if( magic != BSWF_MAGIC || ( com_productionMode.GetInteger() == 0 && sourceTime != FILE_NOT_FOUND_TIMESTAMP && sourceTime != btimestamp ) )
|
||||
{
|
||||
delete f;
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue