Remove Cheats/ExtraCheats distinction

It is not necessary as there is no longer a need to preserve
the size/order of struct Cheats
This commit is contained in:
Jonathan G Rennison
2023-11-26 11:32:26 +00:00
parent 7d65fbd6e8
commit a3371fccc6
8 changed files with 20 additions and 38 deletions

View File

@@ -799,7 +799,7 @@ static CommandCost BuildStationPart(Station **st, DoCommandFlag flags, bool reus
ZoningTownAuthorityRatingChange();
}
SetBit((*st)->town->have_ratings, _current_company);
if (_extra_cheats.town_rating.value) {
if (_cheats.town_rating.value) {
(*st)->town->ratings[_current_company] = RATING_MAXIMUM;
}
}