diff options
author | frosch <frosch@openttd.org> | 2014-02-07 23:48:56 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2014-02-07 23:48:56 +0000 |
commit | 41b7a04a680196dc7d579ca9a88fbe9c8c28f60a (patch) | |
tree | b92a640bf819583d3ac072f8d79e76f48c593040 /src/vehicle.cpp | |
parent | 50c6b2486b41e1849feb2c24a2c93342d0a170fe (diff) | |
download | openttd-41b7a04a680196dc7d579ca9a88fbe9c8c28f60a.tar.xz |
(svn r26317) -Fix [FS#5897]: Check whether NewGRF change vehicle capacity when they are not supposed to, and truncate cargo appropiately if they are allowed to.
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r-- | src/vehicle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 2037da7cd..ceb345f46 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -1355,7 +1355,7 @@ void VehicleEnterDepot(Vehicle *v) t->wait_counter = 0; t->force_proceed = TFP_NONE; ClrBit(t->flags, VRF_TOGGLE_REVERSE); - t->ConsistChanged(true); + t->ConsistChanged(CCF_ARRANGE); break; } |