Don't show rpg laser spot when player using func_tank

This commit is contained in:
Roman Chistokhodov 2019-10-15 07:58:33 +03:00
parent c2849e43cf
commit 5869d67d99
1 changed files with 3 additions and 0 deletions

View File

@ -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();