Browse Source

Remove useless casts.

CAd
Andrey Akhmichin 5 years ago
parent
commit
9a86add2dd
  1. 2
      dlls/CAd/eagle.cpp

2
dlls/CAd/eagle.cpp

@ -191,7 +191,7 @@ void CEagle::PrimaryAttack() @@ -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

Loading…
Cancel
Save