From 987f0890a56fa8fd230f22845f4fe76ea60423a1 Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Wed, 16 Oct 2019 01:09:57 +0300 Subject: [PATCH] Hide desert eagle laser spot on tank usage --- dlls/gearbox/eagle.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/gearbox/eagle.cpp b/dlls/gearbox/eagle.cpp index 69c5c0c3..543cfac9 100644 --- a/dlls/gearbox/eagle.cpp +++ b/dlls/gearbox/eagle.cpp @@ -221,6 +221,8 @@ void CEagle::UpdateSpot( void ) #ifndef CLIENT_DLL if (m_fEagleLaserActive) { + if (m_pPlayer->pev->viewmodel == 0) + return; if (!m_pEagleLaser) { m_pEagleLaser = CLaserSpot::CreateSpot();