From 9c1b236a24db3a7324f5f4cbd374188efabd6e2a Mon Sep 17 00:00:00 2001 From: TotallyNotElite Date: Thu, 26 Nov 2020 12:41:21 +0100 Subject: [PATCH] Minor fixes --- src/hacks/Misc.cpp | 2 +- src/hacks/Radar.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hacks/Misc.cpp b/src/hacks/Misc.cpp index 0138dba7..56bf915a 100644 --- a/src/hacks/Misc.cpp +++ b/src/hacks/Misc.cpp @@ -382,7 +382,7 @@ void Draw() { case 4: observermode = "1st Person"; - color = colors::red_b; + color = colors::red; break; case 5: observermode = "3rd Person"; diff --git a/src/hacks/Radar.cpp b/src/hacks/Radar.cpp index 563ecd2b..7a836c4f 100644 --- a/src/hacks/Radar.cpp +++ b/src/hacks/Radar.cpp @@ -106,7 +106,7 @@ void DrawEntity(int x, int y, CachedEntity *ent) { if (ent->m_Type() == ENTITY_PLAYER) { - if (ent->m_bAlivePlayer()) + if (!ent->m_bAlivePlayer()) return; // DEAD. not big surprise. if (hide_invis && IsPlayerInvisible(ent)) return;