From 6f41ce25294d386027928c3ea74e1f5e1fc3607b Mon Sep 17 00:00:00 2001 From: Yimura Date: Thu, 14 Jan 2021 22:14:29 +0100 Subject: [PATCH] refactor(SuperSprint): Reverted to old supersprint --- BigBaseV2/src/features/looped/super_sprint.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/BigBaseV2/src/features/looped/super_sprint.cpp b/BigBaseV2/src/features/looped/super_sprint.cpp index 7de248ab..0e3eea84 100644 --- a/BigBaseV2/src/features/looped/super_sprint.cpp +++ b/BigBaseV2/src/features/looped/super_sprint.cpp @@ -13,15 +13,6 @@ namespace big bool bSuperSprint = g_settings.options["super_sprint"].get(); - if (bSuperSprint) - { - Vector3 vel = ENTITY::GET_ENTITY_VELOCITY(player); - - LOG(INFO) << vel.x << " " << vel.y << ", " << vel.z; - - ENTITY::SET_ENTITY_VELOCITY(player, vel.x * 2, vel.y * 2, vel.z); - } - /* if (bSuperSprint) { float height = ENTITY::GET_ENTITY_HEIGHT_ABOVE_GROUND(player); @@ -57,7 +48,7 @@ namespace big else if (!bSuperSprint && bSuperSprint != bLastSuperSprint) { PLAYER::SET_RUN_SPRINT_MULTIPLIER_FOR_PLAYER(g_playerId, 1.0); - }*/ + } bLastSuperSprint = bSuperSprint; }