diff options
author | rubidium <rubidium@openttd.org> | 2010-01-15 18:23:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-01-15 18:23:52 +0000 |
commit | aaf0b4b46ca2745bb12dad5c228c23446c3203ec (patch) | |
tree | ef1d90f676cd9752edb683bff8af3907da4faf19 /src/openttd.cpp | |
parent | 55d1db5b2851c5b3357126adb720a4a91038b7dc (diff) | |
download | openttd-aaf0b4b46ca2745bb12dad5c228c23446c3203ec.tar.xz |
(svn r18812) -Codechange: make some functions in train.h functions of Train.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index 2543edf88..cf6e4a5eb 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -1140,7 +1140,7 @@ void StateGameLoop() length = 0; for (Train *u = t; u != NULL; u = u->Next()) wagons[length++] = u->tcache; - TrainConsistChanged(t, true); + t->ConsistChanged(true); length = 0; for (Train *u = t; u != NULL; u = u->Next()) { |