Skip to content

Commit 57dfd05

Browse files
committed
CClientModelCacheManager: fix confusing use of local variable
1 parent 6b79c67 commit 57dfd05

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Client/mods/deathmatch/logic/CClientModelCacheManager.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ void CClientModelCacheManagerImpl::DoPulse(void)
104104
m_TickCountNow = CTickCount::Now();
105105
ClearStats();
106106

107-
CClientPlayer* m_pLocalPlayer = g_pClientGame->GetLocalPlayer();
108-
if (!m_pLocalPlayer)
107+
if (!g_pClientGame->GetLocalPlayer())
109108
return;
110109

111110
m_fGameFps = g_pGame->GetFPS();

0 commit comments

Comments
 (0)