mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-24 05:34:18 +00:00
Hide desert eagle laser spot on tank usage
This commit is contained in:
parent
e59451a94d
commit
987f0890a5
@ -221,6 +221,8 @@ void CEagle::UpdateSpot( void )
|
|||||||
#ifndef CLIENT_DLL
|
#ifndef CLIENT_DLL
|
||||||
if (m_fEagleLaserActive)
|
if (m_fEagleLaserActive)
|
||||||
{
|
{
|
||||||
|
if (m_pPlayer->pev->viewmodel == 0)
|
||||||
|
return;
|
||||||
if (!m_pEagleLaser)
|
if (!m_pEagleLaser)
|
||||||
{
|
{
|
||||||
m_pEagleLaser = CLaserSpot::CreateSpot();
|
m_pEagleLaser = CLaserSpot::CreateSpot();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user