mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2024-12-02 00:41:51 +00:00
Merge pull request #49 from unkier/code_duplication
Code duplication in idWeapon::Clear
This commit is contained in:
commit
86c2ea4d61
1 changed files with 0 additions and 5 deletions
|
@ -747,11 +747,6 @@ void idWeapon::Clear()
|
|||
WEAPON_RAISEWEAPON.Unlink();
|
||||
WEAPON_LOWERWEAPON.Unlink();
|
||||
|
||||
if( muzzleFlashHandle != -1 )
|
||||
{
|
||||
gameRenderWorld->FreeLightDef( muzzleFlashHandle );
|
||||
muzzleFlashHandle = -1;
|
||||
}
|
||||
if( muzzleFlashHandle != -1 )
|
||||
{
|
||||
gameRenderWorld->FreeLightDef( muzzleFlashHandle );
|
||||
|
|
Loading…
Reference in a new issue