mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-02-18 10:11:20 +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->ReadInt( muzzleFlashHandle );
|
||||||
savefile->ReadRenderLight( muzzleFlash );
|
savefile->ReadRenderLight( muzzleFlash );
|
||||||
if ( muzzleFlashHandle = -1 ) { // DG: enforce getting fresh handle
|
if ( muzzleFlashHandle != -1 ) { // DG: enforce getting fresh handle
|
||||||
muzzleFlashHandle = gameRenderWorld->AddLightDef( &muzzleFlash );
|
muzzleFlashHandle = gameRenderWorld->AddLightDef( &muzzleFlash );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue