mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-09-08 09:47:26 +00:00
chore: make IZoneLoadingState return reference
This commit is contained in:
@@ -100,9 +100,9 @@ std::unique_ptr<ParsingResult> MenuFileReader::CreateParsingResult(MenuFileParse
|
||||
return result;
|
||||
}
|
||||
|
||||
void MenuFileReader::IncludeZoneState(const MenuAssetZoneState* zoneState)
|
||||
void MenuFileReader::IncludeZoneState(const MenuAssetZoneState& zoneState)
|
||||
{
|
||||
m_zone_state = zoneState;
|
||||
m_zone_state = &zoneState;
|
||||
}
|
||||
|
||||
void MenuFileReader::SetPermissiveMode(const bool usePermissiveMode)
|
||||
|
@@ -19,7 +19,7 @@ namespace menu
|
||||
public:
|
||||
MenuFileReader(std::istream& stream, std::string fileName, FeatureLevel featureLevel, ISearchPath& searchPath);
|
||||
|
||||
void IncludeZoneState(const MenuAssetZoneState* zoneState);
|
||||
void IncludeZoneState(const MenuAssetZoneState& zoneState);
|
||||
void SetPermissiveMode(bool usePermissiveMode);
|
||||
|
||||
std::unique_ptr<ParsingResult> ReadMenuFile();
|
||||
|
Reference in New Issue
Block a user