diff options
author | smatz <smatz@openttd.org> | 2008-07-24 15:19:26 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-07-24 15:19:26 +0000 |
commit | aae2aa64c4281583ea31d668d85301fe7996bd2e (patch) | |
tree | 881cc1be79243d58238de4eda1a24345c93a5735 /src/train.h | |
parent | 9bee9948986c4c4905c53b6214311e2ddb6d6e8d (diff) | |
download | openttd-aae2aa64c4281583ea31d668d85301fe7996bd2e.tar.xz |
(svn r13816) -Fix [FS#2150]: check for vehicle length changes outside a depot (callback 0x11) and give a warning about that
Diffstat (limited to 'src/train.h')
-rw-r--r-- | src/train.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/train.h b/src/train.h index f2dc7988f..7f7cb6166 100644 --- a/src/train.h +++ b/src/train.h @@ -271,6 +271,7 @@ byte FreightWagonMult(CargoID cargo); int CheckTrainInDepot(const Vehicle *v, bool needs_to_be_stopped); int CheckTrainStoppedInDepot(const Vehicle *v); void UpdateTrainAcceleration(Vehicle* v); +void CheckTrainsLengths(); /** * This class 'wraps' Vehicle; you do not actually instantiate this class. |