Browse Source

Remove useless casts.

eftd
Andrey Akhmichin 5 years ago
parent
commit
bf860362a8
  1. 2
      dlls/eftd/ak47.cpp
  2. 2
      dlls/eftd/mac10.cpp

2
dlls/eftd/ak47.cpp

@ -173,7 +173,7 @@ void CAK47::PrimaryAttack() @@ -173,7 +173,7 @@ void CAK47::PrimaryAttack()
flags = 0;
#endif
PLAYBACK_EVENT_FULL(flags, m_pPlayer->edict(), m_usAK47, 0.0, (float *)&g_vecZero, (float *)&g_vecZero, vecDir.x, vecDir.y, 0, 0, 0, 0);
PLAYBACK_EVENT_FULL(flags, m_pPlayer->edict(), m_usAK47, 0.0, g_vecZero, g_vecZero, vecDir.x, vecDir.y, 0, 0, 0, 0);
m_flNextPrimaryAttack = GetNextAttackDelay(0.1f);

2
dlls/eftd/mac10.cpp

@ -158,7 +158,7 @@ void CMac10::PrimaryAttack() @@ -158,7 +158,7 @@ void CMac10::PrimaryAttack()
flags = 0;
#endif
PLAYBACK_EVENT_FULL(flags, m_pPlayer->edict(), m_usMac10, 0.0, (float *)&g_vecZero, (float *)&g_vecZero, vecDir.x, vecDir.y, 0, 0, 0, 0);
PLAYBACK_EVENT_FULL(flags, m_pPlayer->edict(), m_usMac10, 0.0, g_vecZero, g_vecZero, vecDir.x, vecDir.y, 0, 0, 0, 0);
m_flNextPrimaryAttack = GetNextAttackDelay(0.075f);

Loading…
Cancel
Save