mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-04-21 18:30:56 +00:00
Remove superfluous call to dict->GetString
it's called again one line below (this time checking if the key really existed in the dict) I overlooked this in "Fix several bugs from iodoom3 bugtracker"
This commit is contained in:
parent
4ab609f396
commit
34a2a07d55
1 changed files with 0 additions and 1 deletions
|
@ -1626,7 +1626,6 @@ void idGameLocal::GetShakeSounds( const idDict *dict ) {
|
|||
const char *soundShaderName;
|
||||
idStr soundName;
|
||||
|
||||
soundShaderName = dict->GetString( "s_shader" );
|
||||
if ( dict->GetString( "s_shader", "", &soundShaderName )
|
||||
&& dict->GetFloat( "s_shakes" ) != 0.0f )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue