summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAetias <aetias@outlook.com>2024-02-17 13:45:21 +0100
committerAetias <aetias@outlook.com>2024-02-17 13:45:21 +0100
commitaefcf5bf217b239b33fbb3097ecfc06bb806c36c (patch)
tree1218aef7497aab8eefc80f28e59e52fe11ce5b29 /src
parent108951f30797672103770a0b0c02deba9f892e34 (diff)
Decomp `ItemManager::EquipShipPart`
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;
+}