summaryrefslogtreecommitdiff
path: root/train_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-12-14 06:20:23 +0000
committertron <tron@openttd.org>2005-12-14 06:20:23 +0000
commit9822b4d755ba1bcc126643cd21a2c4362a4026d9 (patch)
tree5042ddfac1e3c26fb99ea38d0bd4b90959a93d61 /train_cmd.c
parentae624ee69045c23e05396740fb2a3f6cd09809ff (diff)
downloadopenttd-9822b4d755ba1bcc126643cd21a2c4362a4026d9.tar.xz
(svn r3297) Staticise
Diffstat (limited to 'train_cmd.c')
-rw-r--r--train_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/train_cmd.c b/train_cmd.c
index 2689da67f..faae38584 100644
--- a/train_cmd.c
+++ b/train_cmd.c
@@ -36,7 +36,7 @@ static const byte _state_dir_table[4] = { 0x20, 8, 0x10, 4 };
* the consist changes.
* @param v First vehicle of the consist.
*/
-void TrainCargoChanged(Vehicle* v)
+static void TrainCargoChanged(Vehicle* v)
{
Vehicle *u;
uint16 weight = 0;