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:
patch-import
2015-08-01 22:58:47 +01:00
committed by Jonathan G Rennison
parent c8a727d3fc
commit 45b5145396
6 changed files with 48 additions and 0 deletions

View File

@@ -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);