From ee4eced60bcc716f448d3ad54532299d0084cc1f Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Thu, 29 Dec 2022 01:42:23 +0100 Subject: [PATCH] Fix typo in game/Weapon.cpp from "Fix renderlights ..." commit --- neo/game/Weapon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/game/Weapon.cpp b/neo/game/Weapon.cpp index c78bc3b5..b1d6c993 100644 --- a/neo/game/Weapon.cpp +++ b/neo/game/Weapon.cpp @@ -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 ); }