diff options
Diffstat (limited to 'tf2/process_movement.cpp')
| -rw-r--r-- | tf2/process_movement.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tf2/process_movement.cpp b/tf2/process_movement.cpp deleted file mode 100644 index c6f186e..0000000 --- a/tf2/process_movement.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include "hooks.h"
-#include "interfaces.h"
-
-void __fastcall hooks::process_movement( void* thisptr, void* edx_, c_base_player* player, CMoveData* move ) {
- static auto old_fn = cl.m_movement->get_old_function< decltype( hooks::process_movement )* >( 1 );
-
- if ( cl.m_input( )->IsButtonDown( MOUSE_MIDDLE ) ) {
- move->m_outStepHeight = -1.0f;
- }
-
- return old_fn( thisptr, edx_, player, move );
-}
\ No newline at end of file |
