mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-22 01:30:50 +00:00
Don't try to cache models by the new model* keywords
This commit is contained in:
parent
f913426348
commit
0657a59c69
1 changed files with 3 additions and 1 deletions
|
@ -1883,7 +1883,9 @@ void idGameLocal::CacheDictionaryMedia( const idDict* dict )
|
|||
kv = dict->MatchPrefix( "model" );
|
||||
while( kv )
|
||||
{
|
||||
if( kv->GetValue().Length() )
|
||||
const char* modelKey = kv->GetKey().c_str();
|
||||
|
||||
if( kv->GetValue().Length() && idStr::Icmp( modelKey, "modelTarget" ) != 0 && idStr::Icmpn( modelKey, "modelscale", 10 ) != 0 )
|
||||
{
|
||||
declManager->MediaPrint( "Precaching model %s\n", kv->GetValue().c_str() );
|
||||
|
||||
|
|
Loading…
Reference in a new issue