mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 19:44:55 +00:00
CVar: Ensure m_wasDeserialized set in deferred & command line cases
This commit is contained in:
@@ -218,10 +218,7 @@ bool CVar::toBoolean(bool* isValid) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isValid != nullptr)
|
||||
*isValid = true;
|
||||
|
||||
return athena::utility::parseBool(m_value);
|
||||
return athena::utility::parseBool(m_value, isValid);
|
||||
}
|
||||
|
||||
int32_t CVar::toSigned(bool* isValid) const {
|
||||
|
||||
Reference in New Issue
Block a user