mirror of https://github.com/zeldaret/botw.git
uking/ui: Fix another minor accuracy issue (add inline function)
Both versions match perfectly, but there is a wrapper function for getSameGroupActorName in the Wii U version.
This commit is contained in:
parent
dd653e871f
commit
2ae06d6b39
|
@ -126,6 +126,15 @@ struct PouchConstants {
|
|||
|
||||
PouchConstants sValues;
|
||||
|
||||
void getSameGroupActorName(sead::SafeString* group, const sead::SafeString& item,
|
||||
al::ByamlIter* iter) {
|
||||
if (iter) {
|
||||
ksys::act::getSameGroupActorName(group, item, iter);
|
||||
} else {
|
||||
ksys::act::getSameGroupActorName(group, item);
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
PauseMenuDataMgr::PauseMenuDataMgr() {
|
||||
|
@ -218,11 +227,7 @@ void PauseMenuDataMgr::initForNewSave() {
|
|||
|
||||
PouchItemType PauseMenuDataMgr::getType(const sead::SafeString& item, al::ByamlIter* iter) {
|
||||
sead::SafeString group;
|
||||
if (iter) {
|
||||
ksys::act::getSameGroupActorName(&group, item, iter);
|
||||
} else {
|
||||
ksys::act::getSameGroupActorName(&group, item);
|
||||
}
|
||||
getSameGroupActorName(&group, item, iter);
|
||||
|
||||
al::ByamlIter actor_iter;
|
||||
if (iter && iter->isValid() && group == item) {
|
||||
|
|
Loading…
Reference in New Issue