Browse Source

Remove useless casts.

visitors
Andrey Akhmichin 5 years ago
parent
commit
f89755a691
  1. 2
      dlls/visitors/pipe.cpp
  2. 2
      dlls/visitors/sniper.cpp

2
dlls/visitors/pipe.cpp

@ -163,7 +163,7 @@ int CPipe::Swing(int fFirst) @@ -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);

2
dlls/visitors/sniper.cpp

@ -174,7 +174,7 @@ void CSniper::PrimaryAttack() @@ -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;

Loading…
Cancel
Save