Rename PauseMenuDataMgr addGrabbedItem to removeGrabbedItem

The previous name was completely wrong, whoops.
This commit is contained in:
Léo Lam
2022-02-27 22:37:23 +01:00
parent df36d65665
commit a1fd80bd1c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1339,7 +1339,7 @@ void PauseMenuDataMgr::removeGrabbedItems() {
}
// NON_MATCHING: mostly branching (which leads to other differences), but visibly equivalent
bool PauseMenuDataMgr::addGrabbedItem(ksys::act::BaseProcLink* link) {
bool PauseMenuDataMgr::removeGrabbedItem(ksys::act::BaseProcLink* link) {
if (!link || !link->hasProc())
return false;
+1 -1
View File
@@ -287,7 +287,7 @@ public:
PouchItem* getMasterSword() const;
void removeGrabbedItems();
bool addGrabbedItem(ksys::act::BaseProcLink* link);
bool removeGrabbedItem(ksys::act::BaseProcLink* link);
bool getEquippedArrowType(sead::BufferedSafeString* name, int* count) const;
int getArrowCount(const sead::SafeString& name) const;