Add group info patch
Fix whitespace, add NOSAVE comment in vehicle struct http://www.tt-forums.net/viewtopic.php?f=33&t=72855
This commit is contained in:

committed by
Jonathan G Rennison

parent
c8a727d3fc
commit
45b5145396
@@ -375,6 +375,8 @@ void AfterLoadVehicles(bool part_of_load)
|
||||
FOR_ALL_VEHICLES(v) {
|
||||
assert(v->first != NULL);
|
||||
|
||||
v->trip_occupancy = CalcPercentVehicleFilled(v, NULL);
|
||||
|
||||
switch (v->type) {
|
||||
case VEH_TRAIN: {
|
||||
Train *t = Train::From(v);
|
||||
|
Reference in New Issue
Block a user