forked from rosebudai/OpenRCT2-Web
Rename cheat variables to match new code style
This commit is contained in:
1 parent
7d554b5790
commit
c24e47dea1
74 files changed
+450
-450
No files matched your search
@@ -728,7 +728,7 @@ static std::optional<TrackSceneryEntry> TrackDesignPlaceSceneryElementGetEntry(c
|
||||
{
|
||||
result.Type = obj->GetObjectType();
|
||||
result.Index = objectMgr.GetLoadedObjectEntryIndex(obj);
|
||||
if (!GetGameState().Cheats.IgnoreResearchStatus)
|
||||
if (!GetGameState().Cheats.ignoreResearchStatus)
|
||||
{
|
||||
objectUnavailable = !ResearchIsInvented(result.Type, result.Index);
|
||||
}
|
||||
@@ -1951,7 +1951,7 @@ static bool TrackDesignPlacePreview(
|
||||
{
|
||||
gameStateData.setFlag(TrackDesignGameStateFlag::VehicleUnavailable, true);
|
||||
}
|
||||
else if (!RideEntryIsInvented(entry_index) && !GetGameState().Cheats.IgnoreResearchStatus)
|
||||
else if (!RideEntryIsInvented(entry_index) && !GetGameState().Cheats.ignoreResearchStatus)
|
||||
{
|
||||
gameStateData.setFlag(TrackDesignGameStateFlag::VehicleUnavailable, true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user