From 6101cec5be5f5ef6b97807708848d1f25646b08d Mon Sep 17 00:00:00 2001 From: XoD Date: Wed, 21 Dec 2011 21:36:58 +0100 Subject: [PATCH] Fix a test in FX_DoubleVision. It's probably a small bug, powerupEndTime[ INVULNERABILITY ] can be tested in multiplayer game. Signed-off-by: XoD --- neo/d3xp/PlayerView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/d3xp/PlayerView.cpp b/neo/d3xp/PlayerView.cpp index 69ebd68..bf348c8 100644 --- a/neo/d3xp/PlayerView.cpp +++ b/neo/d3xp/PlayerView.cpp @@ -1377,7 +1377,7 @@ void FullscreenFX_DoubleVision::HighQuality() { color.z = 0; } - if ( !gameLocal.isMultiplayer && gameLocal.fast.time < player->inventory.powerupEndTime[ HELLTIME ] || gameLocal.fast.time < player->inventory.powerupEndTime[ INVULNERABILITY ]) { + if ( !gameLocal.isMultiplayer && (gameLocal.fast.time < player->inventory.powerupEndTime[ HELLTIME ] || gameLocal.fast.time < player->inventory.powerupEndTime[ INVULNERABILITY ])) { color.y = 0; color.z = 0; }