Codechange: cleanup CargoPacket in terms of variable/function names (#11278)
Over the years, things got reused and changed, making the current
names somewhat unclear in what they actually mean and do.
(cherry picked from commit 30172fc037
)
This commit is contained in:

committed by
Jonathan G Rennison

parent
2890127675
commit
e5673a1756
@@ -3062,11 +3062,11 @@ static ChangeInfoResult CargoChangeInfo(uint cid, int numinfo, int prop, const G
|
||||
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
|
||||
|
Reference in New Issue
Block a user