Skip to content

Commit

Permalink
Fix a test in FX_DoubleVision.
Browse files Browse the repository at this point in the history
It's probably a small bug, powerupEndTime[ INVULNERABILITY ] can be
tested in multiplayer game.

Signed-off-by: XoD <xoddark@gmail.com>
  • Loading branch information
XoD committed Dec 28, 2011
1 parent 232432d commit 6101cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/d3xp/PlayerView.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6101cec

Please sign in to comment.