mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-23 20:24:12 +01:00
Cleanup: Fix various spelling errors
This commit is contained in:
committed by
rubidium42
parent
4d0682d034
commit
d06b371254
@@ -1788,7 +1788,7 @@ static void DoCreateNewIndustry(Industry *i, TileIndex tile, IndustryType type,
|
||||
a.cargo = indspec->accepts_cargo[index];
|
||||
}
|
||||
|
||||
/* Randomize inital production if non-original economy is used and there are no production related callbacks. */
|
||||
/* Randomize initial production if non-original economy is used and there are no production related callbacks. */
|
||||
if (!indspec->UsesOriginalEconomy()) {
|
||||
for (auto &p : i->produced) {
|
||||
p.rate = ClampTo<uint8_t>((RandomRange(256) + 128) * p.rate >> 8);
|
||||
|
||||
Reference in New Issue
Block a user