summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/KingSystem/ActorSystem/actInfoData.cpp2
-rw-r--r--src/KingSystem/ActorSystem/actInfoData.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/KingSystem/ActorSystem/actInfoData.cpp b/src/KingSystem/ActorSystem/actInfoData.cpp
index c23a94de..028cb26e 100644
--- a/src/KingSystem/ActorSystem/actInfoData.cpp
+++ b/src/KingSystem/ActorSystem/actInfoData.cpp
@@ -210,7 +210,7 @@ s32 InfoData::getIntByKey(const al::ByamlIter& iter, const char* key, s32 defaul
}
const char* InfoData::getStringByKey(const al::ByamlIter& iter, const char* key,
- const sead::SafeString& default_) {
+ const sead::SafeString& default_, bool) {
const char* value;
return iter.tryGetStringByKey(&value, key) ? value : default_.cstr();
}
diff --git a/src/KingSystem/ActorSystem/actInfoData.h b/src/KingSystem/ActorSystem/actInfoData.h
index 7295ad10..bdaf24eb 100644
--- a/src/KingSystem/ActorSystem/actInfoData.h
+++ b/src/KingSystem/ActorSystem/actInfoData.h
@@ -142,7 +142,8 @@ public:
bool x = true);
static const char*
getStringByKey(const al::ByamlIter& iter, const char* key,
- const sead::SafeString& default_ = sead::SafeString::cEmptyString);
+ const sead::SafeString& default_ = sead::SafeString::cEmptyString,
+ bool x = true);
private:
struct DebugEntry {