mirror of
https://github.com/DrBeef/Doom3Quest.git
synced 2025-02-17 09:33:29 +00:00
Quick Change so that I dont conflict with Dr Beef changes
This commit is contained in:
parent
92fa4000ef
commit
08dffe3d0f
1 changed files with 12 additions and 1 deletions
|
@ -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() ) {
|
||||
|
|
Loading…
Reference in a new issue