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:
Daniel Gibson 2012-05-22 21:48:34 +02:00
parent 4ab609f396
commit 34a2a07d55

View file

@ -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 )
{