diff options
| author | Aetias <aetias@outlook.com> | 2024-02-17 00:45:59 +0100 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2024-02-17 00:45:59 +0100 |
| commit | ef2226c84d280a418bc0ed82f6fa1f371bafbb0f (patch) | |
| tree | 721c8f16e5231854f9b1d6f43225d69953f66cb1 /src/ItemManager.cpp | |
| parent | de3c2636d74af3ac26da6e8e8a614c67fd22ae63 (diff) | |
Decomp `ItemManager::GetAmmo`
Diffstat (limited to 'src/ItemManager.cpp')
| -rw-r--r-- | src/ItemManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ItemManager.cpp b/src/ItemManager.cpp index 24f06469..33be3fc0 100644 --- a/src/ItemManager.cpp +++ b/src/ItemManager.cpp @@ -262,4 +262,8 @@ EquipItem* ItemManager::GetEquipItem(ItemFlag equipId) { return (*this->mEquipItems)[equipId];
}
}
+
+u16 ItemManager::GetAmmo(ItemFlag equipId) const {
+ return (*this->mAmmo)[equipId];
+}
#pragma interworking off
|
