Codechange: Shuffle CargoPayment members to reduce padding.

This commit is contained in:
Peter Nelson
2023-09-11 22:33:27 +01:00
committed by PeterN
parent a3c70ee6fb
commit 2fdc22e7ea
2 changed files with 7 additions and 7 deletions

View File

@@ -1188,8 +1188,8 @@ static void TriggerIndustryProduction(Industry *i)
* @param front The front of the train
*/
CargoPayment::CargoPayment(Vehicle *front) :
front(front),
current_station(front->last_station_visited)
current_station(front->last_station_visited),
front(front)
{
}