diff options
author | celestar <celestar@openttd.org> | 2007-02-13 15:42:52 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2007-02-13 15:42:52 +0000 |
commit | 8eab3964b4ad7ebe0151aa292d42d74400214f4a (patch) | |
tree | 97f07e8c9bbb7b74d420386b638d4c6d8944d7a7 /src/oldloader.cpp | |
parent | 6f68ac46b8c603b23123b5d899afa6988836f497 (diff) | |
download | openttd-8eab3964b4ad7ebe0151aa292d42d74400214f4a.tar.xz |
(svn r8707) -Codechange: Turn IsValidStation into a method of Station
Diffstat (limited to 'src/oldloader.cpp')
-rw-r--r-- | src/oldloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oldloader.cpp b/src/oldloader.cpp index e88c37748..480ab4836 100644 --- a/src/oldloader.cpp +++ b/src/oldloader.cpp @@ -623,7 +623,7 @@ static bool LoadOldStation(LoadgameState *ls, int num) if (!LoadChunk(ls, st, station_chunk)) return false; - if (IsValidStation(st)) { + if (st->IsValid()) { if (st->train_tile) { /* Calculate the trainst_w and trainst_h */ uint w = GB(_old_platforms, 3, 3); |