2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-25 19:29:13 +01:00

Merge pull request #99 from FreeSlave/rpg_laserspot

Don't show rpg laser spot when player using func_tank
This commit is contained in:
Andrey Akhmichin 2019-10-15 13:18:20 +05:00 committed by GitHub
commit f75929a4b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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