Skip to content

Commit 48c7c92

Browse files
committed
Merge branch 'bugfix/Supportable-SupportOffsetReloading' of github.com:cortex-command-community/Cortex-Command-Community-Project into bugfix/Supportable-SupportOffsetReloading
2 parents a8e1f08 + 47f1a61 commit 48c7c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Entities/AHuman.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2243,7 +2243,7 @@ void AHuman::PreControllerUpdate() {
22432243
} else if (heldDevice) {
22442244
if (HeldDevice* bgDevice = GetEquippedBGItem(); bgDevice && !heldDevice->IsOneHanded()) {
22452245
UnequipBGArm();
2246-
} else if (!bgDevice && (!heldDevice->IsReloading() || (heldDevice->IsReloading() && heldDevice->GetUseSupportOffsetWhileReloading())) && heldDevice->IsSupportable()) {
2246+
} else if (!bgDevice && (!heldDevice->IsReloading() || heldDevice->GetUseSupportOffsetWhileReloading()) && heldDevice->IsSupportable()) {
22472247
m_pBGArm->SetHeldDeviceThisArmIsTryingToSupport(heldDevice);
22482248

22492249
if (!m_pBGArm->HasAnyHandTargets() && m_pBGArm->GetHandHasReachedCurrentTarget()) {

0 commit comments

Comments
 (0)