diff --git a/README.md b/README.md index 1a3c4cf..f7da38b 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ As well as setting up **`cheat-library`** as startup project. - Open Team Immediately - Dumb Enemies - Freeze Enemies -- Auto Destroy: Ores/Shields/Doodas/Plants +- Auto Destroy: Ores/Shields/Doodads/Plants - Auto Loot/Open Chests - Pickup Range - Auto Talk diff --git a/cheat-library/src/user/cheat/player/RapidFire.cpp b/cheat-library/src/user/cheat/player/RapidFire.cpp index 455a42f..ea78ca7 100644 --- a/cheat-library/src/user/cheat/player/RapidFire.cpp +++ b/cheat-library/src/user/cheat/player/RapidFire.cpp @@ -268,9 +268,8 @@ namespace cheat::feature for (int i = 0; i < attackCount; i++) app::MoleMole_LCBaseCombat_FireBeingHitEvent(__this, entity->runtimeID(), attackResult, method); } + else CALL_ORIGIN(LCBaseCombat_DoHitEntity_Hook, __this, entity->runtimeID(), attackResult, ignoreCheckCanBeHitInMP, method); } - - CALL_ORIGIN(LCBaseCombat_DoHitEntity_Hook, __this, targetID, attackResult, ignoreCheckCanBeHitInMP, method); } static void VCAnimatorEvent_HandleProcessItem_Hook(app::MoleMole_VCAnimatorEvent* __this,