diff options
| author | Aetias <144526980+AetiasHax@users.noreply.github.com> | 2025-07-22 15:54:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-22 15:54:46 +0200 |
| commit | 383ca6aaa2b322869fe304eb5c277150859bfcc0 (patch) | |
| tree | d89df81f15cf8e2d4c3dbad0f115c3f198119ead /src/00_Core/Item/ItemManager.cpp | |
| parent | aee9c362bbeb9ae717f4b93cbbd5fa0dd9a71450 (diff) | |
Game 99% (#125)
* Game 74%
* Game 99%
* Fix symbol name
Diffstat (limited to 'src/00_Core/Item/ItemManager.cpp')
| -rw-r--r-- | src/00_Core/Item/ItemManager.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/00_Core/Item/ItemManager.cpp b/src/00_Core/Item/ItemManager.cpp index e4201979..7b63966b 100644 --- a/src/00_Core/Item/ItemManager.cpp +++ b/src/00_Core/Item/ItemManager.cpp @@ -9,6 +9,7 @@ #include "Player/PlayerManager.hpp"
#include "Save/AdventureFlags.hpp"
#include "System/OverlayManager.hpp"
+#include "Unknown/UnkStruct_020eec68.hpp"
static const char *sShipPartTypes[] = {"anc", "bow", "hul", "can", "dco", "pdl", "fnl", "brg"};
@@ -1056,8 +1057,6 @@ THUMB void ItemManager::LoadDungeonItemModels() { }
}
-extern unk32 data_ov000_020eec68;
-extern "C" void PlaySoundEffect(void *param1, SfxId sfx);
THUMB void ItemManager::PlayItemFanfareSfx(ItemId item) {
if (gItemManager->mMuteNextFanfare == true) {
gItemManager->mMuteNextFanfare = false;
@@ -1105,7 +1104,7 @@ THUMB void ItemManager::PlayItemFanfareSfx(ItemId item) { gItemManager->mFanfareSfx = SfxId_None;
}
- PlaySoundEffect(&data_ov000_020eec68, sfx);
+ data_ov000_020eec68.PlaySoundEffect(sfx);
}
THUMB bool ItemManager::HasShipPartPriceShown(ShipPart part, ShipType type) const {
|
