summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ItemManager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ItemManager.cpp b/src/ItemManager.cpp
index 25e5f9bf..f21a763c 100644
--- a/src/ItemManager.cpp
+++ b/src/ItemManager.cpp
@@ -307,3 +307,7 @@ ARM NONMATCH bool ItemManager::func_ov00_020ad790(unk32 param1) {
THUMB ShipType ItemManager::GetEquippedShipPart(ShipPart part) const {
return this->mEquippedShipParts[part];
}
+
+THUMB void ItemManager::EquipShipPart(ShipPart part, ShipType type) {
+ this->mEquippedShipParts[part] = type;
+}