summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2021-01-08 21:55:13 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2021-01-08 21:55:13 +0100
commit02f6ed7da39c06ba7c219e976150999f18a1461e (patch)
tree6b641bbf8a624973c081e3a5a6c6ebfc70bbaa37 /src/render
parentMerge branch 'master' of https://github.com/GTAmodding/re3 (diff)
downloadre3-02f6ed7da39c06ba7c219e976150999f18a1461e.tar
re3-02f6ed7da39c06ba7c219e976150999f18a1461e.tar.gz
re3-02f6ed7da39c06ba7c219e976150999f18a1461e.tar.bz2
re3-02f6ed7da39c06ba7c219e976150999f18a1461e.tar.lz
re3-02f6ed7da39c06ba7c219e976150999f18a1461e.tar.xz
re3-02f6ed7da39c06ba7c219e976150999f18a1461e.tar.zst
re3-02f6ed7da39c06ba7c219e976150999f18a1461e.zip
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Draw.cpp10
-rw-r--r--src/render/Draw.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/src/render/Draw.cpp b/src/render/Draw.cpp
index f2fdad27..f702f188 100644
--- a/src/render/Draw.cpp
+++ b/src/render/Draw.cpp
@@ -21,13 +21,13 @@ uint8 CDraw::FadeGreen;
uint8 CDraw::FadeBlue;
#ifdef PROPER_SCALING
-int32 CDraw::ms_bProperScaling = true;
+bool CDraw::ms_bProperScaling = true;
#endif
-#ifdef FIX_SPRITES
-int32 CDraw::ms_bFixRadar = true;
+#ifdef FIX_RADAR
+bool CDraw::ms_bFixRadar = true;
#endif
-#ifdef FIX_RADAR
-int32 CDraw::ms_bFixSprites = true;
+#ifdef FIX_SPRITES
+bool CDraw::ms_bFixSprites = true;
#endif
float
diff --git a/src/render/Draw.h b/src/render/Draw.h
index 4f8f523d..8727e0e0 100644
--- a/src/render/Draw.h
+++ b/src/render/Draw.h
@@ -36,13 +36,13 @@ public:
static uint8 FadeBlue;
#ifdef PROPER_SCALING
- static int32 ms_bProperScaling;
-#endif
-#ifdef FIX_SPRITES
- static int32 ms_bFixRadar;
+ static bool ms_bProperScaling;
#endif
#ifdef FIX_RADAR
- static int32 ms_bFixSprites;
+ static bool ms_bFixRadar;
+#endif
+#ifdef FIX_SPRITES
+ static bool ms_bFixSprites;
#endif
static void SetNearClipZ(float nearclip) { ms_fNearClipZ = nearclip; }