clang format

This commit is contained in:
kinak 2025-06-15 15:27:22 +02:00
parent 6e5538aad9
commit 262670b605
2 changed files with 5 additions and 4 deletions

View File

@ -3138,8 +3138,8 @@ void PauseMenuDataMgr::sellItem(PouchItem* target_item, int quantity) {
}
}
int PauseMenuDataMgr::getWeaponsForDpad(sead::SafeArray<PouchItem*, NumItemsPerTabMax>* result_array,
PouchItemType target_type) const {
int PauseMenuDataMgr::getWeaponsForDpad(
sead::SafeArray<PouchItem*, NumItemsPerTabMax>* result_array, PouchItemType target_type) const {
if (!result_array) {
return 0;
}
@ -3239,7 +3239,7 @@ const sead::SafeString* PauseMenuDataMgr::getNameFromTabSlot(int tab_index, int
}
int count = getNumberOfItemsInTab(tab_index);
PouchItem* item = mTabs[tab_index];
if (slot_index >= count || !item) {
if (slot_index >= count || !item) {
return nullptr;
}
for (int i = 0; i < slot_index; i++) {

View File

@ -403,7 +403,8 @@ public:
const sead::SafeString* equipFromTabSlot(int tab_index, int slot_index);
void useMaybe(int tab_index, int slot_index, int quantity);
void sellItem(PouchItem* target_item, int quantity);
int getWeaponsForDpad(sead::SafeArray<PouchItem*, NumItemsPerTabMax>* result_array, PouchItemType target_type) const;
int getWeaponsForDpad(sead::SafeArray<PouchItem*, NumItemsPerTabMax>* result_array,
PouchItemType target_type) const;
private:
// TODO: rename