From 8eab3964b4ad7ebe0151aa292d42d74400214f4a Mon Sep 17 00:00:00 2001 From: celestar Date: Tue, 13 Feb 2007 15:42:52 +0000 Subject: (svn r8707) -Codechange: Turn IsValidStation into a method of Station --- src/oldloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/oldloader.cpp') 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); -- cgit v1.2.3-54-g00ecf