Revert "Update players.cpp"

This reverts commit 9e5a0b8e21.
This commit is contained in:
HamidReza 2021-08-30 23:27:28 +04:30
parent 9e5a0b8e21
commit cc88cb96ff

View file

@ -545,10 +545,10 @@ void CPlayers::RenderPlayer(
#if defined(CONF_VIDEORECORDER) #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()) if(((!IVideo::Current() && (g_Config.m_ClShowDirection || g_Config.m_ClShowLocalDirection)) || (IVideo::Current() && g_Config.m_ClVideoShowDirection)) && ClientID >= 0 || DemoPlayer()->IsPlaying())
#else #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 #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) if(Player.m_Direction == -1)
{ {