This is a really minor issue, but I noticed that when using bandolier to switch between weapons and bard instruments, the instrument bonuses were not being calculated after the switch. I assume (but haven't noticed) that this is true of other bonuses as well. Adding a CalcBonuses() function call to the end seems to have resolved the issue.
Code:
Index: inventory.cpp
===================================================================
--- inventory.cpp (revision 373)
+++ inventory.cpp (working copy)
@@ -1464,6 +1464,8 @@
}
}
}
+ // finally, recalculate any stat bonuses from the item change
+ CalcBonuses();
}
bool Client::MoveItemToInventory(ItemInst *ItemToReturn, bool UpdateClient) {