Codechange: rename cargo aging days to periods, as they are not really days (#11112)

This commit is contained in:
rubidium42
2023-07-12 19:20:02 +02:00
committed by GitHub
parent ab19882e94
commit 9f6fec01cd
14 changed files with 82 additions and 76 deletions

View File

@@ -3021,11 +3021,11 @@ static ChangeInfoResult CargoChangeInfo(uint cid, int numinfo, int prop, ByteRea
break;
case 0x10: // Used for payment calculation
cs->transit_days[0] = buf->ReadByte();
cs->transit_periods[0] = buf->ReadByte();
break;
case 0x11: // Used for payment calculation
cs->transit_days[1] = buf->ReadByte();
cs->transit_periods[1] = buf->ReadByte();
break;
case 0x12: // Base cargo price