From d7290e18f0a61d90e48a5b24e6f8c7c914559977 Mon Sep 17 00:00:00 2001 From: Diavolo Date: Sat, 6 Aug 2022 00:00:58 +0200 Subject: [PATCH] fix for controlled killstreaks --- src/Components/Modules/Movement.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Components/Modules/Movement.cpp b/src/Components/Modules/Movement.cpp index ec243bd6..6197387f 100644 --- a/src/Components/Modules/Movement.cpp +++ b/src/Components/Modules/Movement.cpp @@ -177,7 +177,8 @@ namespace Components { auto* result = Game::Weapon_RocketLauncher_Fire(ent, weaponIndex, spread, wp, gunVel, lockParms, magicBullet); - if (ent->client != nullptr && BGRocketJump.get()) + if (ent->client != nullptr && BGRocketJump.get() && + wp->weapDef->inventoryType != Game::WEAPINVENTORY_EXCLUSIVE) { const auto scale = Movement::BGRocketJumpScale.get(); ent->client->ps.velocity[0] += (0.0f - wp->forward[0]) * scale;