From 5869d67d9948d83530bda68db12e5b69e080dbca Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Tue, 15 Oct 2019 07:58:33 +0300 Subject: [PATCH] Don't show rpg laser spot when player using func_tank --- dlls/rpg.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/rpg.cpp b/dlls/rpg.cpp index fe1fd8a9..f2a7b758 100644 --- a/dlls/rpg.cpp +++ b/dlls/rpg.cpp @@ -535,6 +535,9 @@ void CRpg::UpdateSpot( void ) #ifndef CLIENT_DLL if( m_fSpotActive ) { + if (m_pPlayer->pev->viewmodel == 0) + return; + if( !m_pSpot ) { m_pSpot = CLaserSpot::CreateSpot();