mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-29 15:42:28 +00:00
Fix typo in game/Weapon.cpp from "Fix renderlights ..." commit
This commit is contained in:
parent
a7e4eb8644
commit
ee4eced60b
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ void idWeapon::Restore( idRestoreGame *savefile ) {
|
|||
}
|
||||
savefile->ReadInt( muzzleFlashHandle );
|
||||
savefile->ReadRenderLight( muzzleFlash );
|
||||
if ( muzzleFlashHandle = -1 ) { // DG: enforce getting fresh handle
|
||||
if ( muzzleFlashHandle != -1 ) { // DG: enforce getting fresh handle
|
||||
muzzleFlashHandle = gameRenderWorld->AddLightDef( &muzzleFlash );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue