Quick Change so that I dont conflict with Dr Beef changes

This commit is contained in:
Grant Bagwell 2020-11-27 17:16:32 +01:00
parent 92fa4000ef
commit 08dffe3d0f

View file

@ -1652,7 +1652,7 @@ void idGameLocal::MapPopulate( void ) {
// Must set GAME_FPS for script after populating, because some maps run their own scripts
// when spawning the world, and GAME_FPS will not be found before then.
SetScriptFPS( 60.0f );
SetScriptFPS(renderSystem->GetRefresh());
}
/*
@ -2291,6 +2291,17 @@ void idGameLocal::CacheDictionaryMedia( const idDict *dict ) {
kv = dict->MatchPrefix( "def", kv );
}
// Precache all available grabber "catch" damage decls
kv = dict->MatchPrefix( "def_damage", NULL );
while( kv != NULL )
{
if( kv->GetValue().Length() )
{
FindEntityDef( kv->GetValue() + "_catch", false );
}
kv = dict->MatchPrefix( "def_damage", kv );
}
kv = dict->MatchPrefix( "pda_name", NULL );
while( kv ) {
if ( kv->GetValue().Length() ) {