Skip to content

Commit

Permalink
Remove old IC push-you-backwards code
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeparker committed Jun 19, 2016
1 parent 1a0c2a6 commit cc2c3e0
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions game_shared/ff/ff_weapon_ic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
#include "ff_player.h"
#endif

//ConVar ffdev_ic_blastpush("ffdev_ic_blastpush", "0", FCVAR_FF_FFDEV_REPLICATED);
#define IC_BLASTPUSH 0.0f

//=============================================================================
// CFFWeaponIC
//=============================================================================
Expand Down Expand Up @@ -114,13 +111,4 @@ void CFFWeaponIC::Fire()
#ifdef GAME_DLL
Omnibot::Notify_PlayerShoot(pPlayer, Omnibot::TF_WP_NAPALMCANNON, pRocket);
#endif

// Push player but don't add to upwards force
// 0000936 - reduce the blast push
Vector vecImpulse = vForward * (IC_BLASTPUSH * -1.0f);

if (vecImpulse.z > 0)
vecImpulse.z = 0;

pPlayer->ApplyAbsVelocityImpulse(vecImpulse);
}

0 comments on commit cc2c3e0

Please sign in to comment.