summaryrefslogtreecommitdiffstats
path: root/src/render/Hud.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/Hud.cpp')
-rw-r--r--src/render/Hud.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp
index de8c082f..97f2362c 100644
--- a/src/render/Hud.cpp
+++ b/src/render/Hud.cpp
@@ -205,8 +205,8 @@ void CHud::Draw()
}
else {
if (Mode == CCam::MODE_M16FIRSTPERSON_34 ||
- Mode == CCam::MODE_FIRSTPERSONPEDONPC_41 &&
- Mode != CCam::MODE_EDITOR) {
+ Mode == CCam::MODE_FIRSTPERSONPEDONPC_41 ||
+ Mode == CCam::MODE_EDITOR) {
rect.left = (SCREEN_WIDTH / 2) - SCREEN_SCALE_X(32.0f);
rect.top = (SCREEN_HEIGHT / 2) - SCREEN_SCALE_Y(32.0f);
rect.right = (SCREEN_WIDTH / 2) + SCREEN_SCALE_X(32.0f);