Skip to content

Commit a8e1f08

Browse files
committed
Fixed offhand support stuff (Thanks MageKing)
1 parent c647cf9 commit a8e1f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Entities/Arm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ void Arm::Update() {
181181
m_AngularVel = 0.0F;
182182
}
183183

184-
if (m_HeldDeviceThisArmIsTryingToSupport && (!m_HeldDeviceThisArmIsTryingToSupport->IsSupportable() || m_HeldDeviceThisArmIsTryingToSupport->GetSupportOffset().MagnitudeIsGreaterThan(m_MaxLength * 2.0F))) {
184+
if (m_HeldDeviceThisArmIsTryingToSupport && (!m_HeldDeviceThisArmIsTryingToSupport->IsSupportable() || !m_HeldDeviceThisArmIsTryingToSupport->IsBeingHeld() || m_HeldDeviceThisArmIsTryingToSupport->GetSupportOffset().MagnitudeIsGreaterThan(m_MaxLength * 2.0F))) {
185185
m_HeldDeviceThisArmIsTryingToSupport = nullptr;
186186
}
187187

0 commit comments

Comments
 (0)