Fix a test in FX_DoubleVision.

It's probably a small bug, powerupEndTime[ INVULNERABILITY ] can be
tested in multiplayer game.

Signed-off-by: XoD <xoddark@gmail.com>
This commit is contained in:
XoD
2011-12-21 21:36:58 +01:00
parent 232432d352
commit 6101cec5be

View File

@@ -1377,7 +1377,7 @@ void FullscreenFX_DoubleVision::HighQuality() {
color.z = 0; 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.y = 0;
color.z = 0; color.z = 0;
} }