We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22e9e84 commit b5a1b76Copy full SHA for b5a1b76
Source/Entities/AHuman.cpp
@@ -1060,10 +1060,10 @@ bool AHuman::EquipShieldInBGArm(bool depositToFront) {
1060
1061
// We want to preserve inventory order, so rotate it to the device in question.
1062
std::rotate(m_Inventory.begin(), itr, m_Inventory.end());
1063
- m_Inventory.pop_front();
1064
1065
// Erase the inventory entry containing the device we now have switched to
1066
*m_Inventory.begin() = 0;
+ m_Inventory.pop_front();
1067
1068
// Now put the device we were looking for and found into the hand
1069
m_pBGArm->SetHeldDevice(pShield);
0 commit comments