From 9a86add2dd822b53955cc2112bfdf71cf4f89673 Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin Date: Thu, 2 Jan 2020 21:12:12 +0500 Subject: [PATCH] Remove useless casts. --- dlls/CAd/eagle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/CAd/eagle.cpp b/dlls/CAd/eagle.cpp index fded0bfc..7ca6aca4 100644 --- a/dlls/CAd/eagle.cpp +++ b/dlls/CAd/eagle.cpp @@ -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