From 79a0fabb826f90ec0263443592b765b5148b2f30 Mon Sep 17 00:00:00 2001 From: HamidReza <57710259+HamidReza585@users.noreply.github.com> Date: Mon, 30 Aug 2021 23:37:11 +0430 Subject: [PATCH] Update players.cpp --- src/game/client/components/players.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/client/components/players.cpp b/src/game/client/components/players.cpp index 7f34a3bfa..205c2dcaf 100644 --- a/src/game/client/components/players.cpp +++ b/src/game/client/components/players.cpp @@ -545,10 +545,10 @@ void CPlayers::RenderPlayer( #if defined(CONF_VIDEORECORDER) if(((!IVideo::Current() && (g_Config.m_ClShowDirection || g_Config.m_ClShowLocalDirection)) || (IVideo::Current() && g_Config.m_ClVideoShowDirection)) && ClientID >= 0 || DemoPlayer()->IsPlaying()) #else - if((g_Config.m_ClShowDirection || g_Config.m_ClShowLocalDirection) && ClientID >= 0 || DemoPlayer()->IsPlaying()) + if(((g_Config.m_ClShowDirection || g_Config.m_ClShowLocalDirection) && ClientID >= 0) || DemoPlayer()->IsPlaying()) #endif { - if((Local && g_Config.m_ClShowLocalDirection) || !Local && g_Config.m_ClShowDirection) + if((Local && g_Config.m_ClShowLocalDirection) || (!Local && g_Config.m_ClShowDirection)) { if(Player.m_Direction == -1) {