Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 0d490bb

Browse files
committed
Parentheses that should have been added in a previous commit
1 parent fe46411 commit 0d490bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Entities/AHuman.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,7 @@ bool AHuman::EquipShieldInBGArm()
12671267
if (m_pBGArm->HoldsSomething())
12681268
{
12691269
pShield = dynamic_cast<HeldDevice *>(m_pBGArm->GetHeldMO());
1270-
if (pShield && pShield->IsShield() || pShield->IsDualWieldable())
1270+
if (pShield && (pShield->IsShield() || pShield->IsDualWieldable()))
12711271
{
12721272
// If we're holding a shield, but aren't supposed to, because we need to support the FG hand's two-handed device,
12731273
// then let go of the shield and put it back in inventory

0 commit comments

Comments
 (0)