summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
author_AG <gennariarmando@outlook.com>2019-06-28 17:11:36 +0200
committer_AG <gennariarmando@outlook.com>2019-06-28 17:11:41 +0200
commit39aefaffa5c264da737bc8159acbc97c8a5767de (patch)
tree79ce5ec9f755a8a86d27e4457ccae3113877a827 /src/render
parentSome Hud.cpp fixes. (diff)
downloadre3-39aefaffa5c264da737bc8159acbc97c8a5767de.tar
re3-39aefaffa5c264da737bc8159acbc97c8a5767de.tar.gz
re3-39aefaffa5c264da737bc8159acbc97c8a5767de.tar.bz2
re3-39aefaffa5c264da737bc8159acbc97c8a5767de.tar.lz
re3-39aefaffa5c264da737bc8159acbc97c8a5767de.tar.xz
re3-39aefaffa5c264da737bc8159acbc97c8a5767de.tar.zst
re3-39aefaffa5c264da737bc8159acbc97c8a5767de.zip
Diffstat (limited to 'src/render')
-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);