diff --git a/dlls/visitors/pipe.cpp b/dlls/visitors/pipe.cpp index 49553814..a64c3dd1 100644 --- a/dlls/visitors/pipe.cpp +++ b/dlls/visitors/pipe.cpp @@ -163,7 +163,7 @@ int CPipe::Swing(int fFirst) #endif PLAYBACK_EVENT_FULL(FEV_NOTHOST, m_pPlayer->edict(), m_usPipe, - 0.0, (float *)&g_vecZero, (float *)&g_vecZero, 0, 0, 0, + 0.0, g_vecZero, g_vecZero, 0, 0, 0, 0.0, 0, 0.0); diff --git a/dlls/visitors/sniper.cpp b/dlls/visitors/sniper.cpp index 8848fb69..c9a57b9d 100644 --- a/dlls/visitors/sniper.cpp +++ b/dlls/visitors/sniper.cpp @@ -174,7 +174,7 @@ void CSniper::PrimaryAttack() flags = 0; #endif - PLAYBACK_EVENT_FULL(flags, m_pPlayer->edict(), m_usFireSniper, 0.0, (float *)&g_vecZero, (float *)&g_vecZero, vecDir.x, vecDir.y, 0, 0, 0, 0); + PLAYBACK_EVENT_FULL(flags, m_pPlayer->edict(), m_usFireSniper, 0.0, g_vecZero, g_vecZero, vecDir.x, vecDir.y, 0, 0, 0, 0); if( m_pPlayer->m_rgAmmo[m_iPrimaryAmmoType] > 0 || m_iClip > 0 ) m_flNextPrimaryAttack = 1.5f;