Remove useless casts.

This commit is contained in:
Andrey Akhmichin 2020-01-02 21:12:12 +05:00
parent 1fa4177d90
commit 9a86add2dd

View File

@ -191,7 +191,7 @@ void CEagle::PrimaryAttack()
m_fLaserOn = FALSE;
}
PLAYBACK_EVENT_FULL( flags, m_pPlayer->edict(), m_usEagle, 0.0, (float *)&g_vecZero, (float *)&g_vecZero, vecDir.x, vecDir.y, flSpread, flSpread, ( m_iClip == 0 ) ? 1 : 0, 0 );
PLAYBACK_EVENT_FULL( flags, m_pPlayer->edict(), m_usEagle, 0.0, g_vecZero, g_vecZero, vecDir.x, vecDir.y, flSpread, flSpread, ( m_iClip == 0 ) ? 1 : 0, 0 );
if (!m_iClip && m_pPlayer->m_rgAmmo[m_iPrimaryAmmoType] <= 0)
// HEV suit - indicate out of ammo condition