Skip to content

Commit 2d42e7e

Browse files
committed
Revert "Implement ValveSoftware#1524"
This reverts commit 1c3d849.
1 parent 1c3d849 commit 2d42e7e

File tree

3 files changed

+0
-19
lines changed

3 files changed

+0
-19
lines changed

game/quiver/info_changelog.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ Added the following Source SDK Pull Requests:
7878
- #1518: Fix the B.A.S.E. Jumper's parachute not using half of its animations
7979
- #1520: Add ForceDifficultyBasedAim CTFBot flag to allow MvM missions to let Spies aim better
8080
- #1522: Fix Thermal Thruster particles
81-
- #1524: Fix Eureka Effect menu reopening
8281

8382
Details:
8483
- Fixed a bug where the mini-crit damage effect doesn't show up when your shield breaks.

src/game/shared/tf/tf_weapon_wrench.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,7 @@ LINK_ENTITY_TO_CLASS( tf_wearable_robot_arm, CTFWearableRobotArm );
100100
// Purpose:
101101
//-----------------------------------------------------------------------------
102102
CTFWrench::CTFWrench()
103-
#ifdef BDSBASE
104-
: m_flNextReloadTime(0.f)
105-
#else
106103
: m_bReloadDown( false )
107-
#endif
108104
{}
109105

110106

@@ -313,17 +309,9 @@ void CTFWrench::ItemPostFrame()
313309
}
314310

315311
// Just pressed reload?
316-
#ifdef BDSBASE
317-
if (pOwner->m_afButtonPressed & IN_RELOAD && gpGlobals->curtime >= m_flNextReloadTime)
318-
#else
319312
if ( pOwner->m_nButtons & IN_RELOAD && !m_bReloadDown )
320-
#endif
321313
{
322-
#ifdef BDSBASE
323-
m_flNextReloadTime = gpGlobals->curtime + 0.5f;
324-
#else
325314
m_bReloadDown = true;
326-
#endif
327315
int iAltFireTeleportToSpawn = 0;
328316
CALL_ATTRIB_HOOK_INT( iAltFireTeleportToSpawn, alt_fire_teleport_to_spawn );
329317
if ( iAltFireTeleportToSpawn )
@@ -336,12 +324,10 @@ void CTFWrench::ItemPostFrame()
336324
}
337325
}
338326
}
339-
#ifndef BDSBASE
340327
else if ( !(pOwner->m_nButtons & IN_RELOAD) && m_bReloadDown )
341328
{
342329
m_bReloadDown = false;
343330
}
344-
#endif
345331
}
346332
#endif
347333

src/game/shared/tf/tf_weapon_wrench.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,7 @@ class CTFWrench : public CTFWeaponBaseMelee
5959

6060

6161
private:
62-
#ifdef BDSBASE
63-
float m_flNextReloadTime;
64-
#else
6562
bool m_bReloadDown;
66-
#endif
6763
CTFWrench( const CTFWrench & ) {}
6864
};
6965

0 commit comments

Comments
 (0)