From ae796740aab0ee480759d2015014b29e2a7aedb4 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 16 Jan 2005 11:24:58 +0000 Subject: (svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn them into inline functions and add some asserts --- oldloader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oldloader.c') diff --git a/oldloader.c b/oldloader.c index 16c08d744..d96ab3420 100644 --- a/oldloader.c +++ b/oldloader.c @@ -1478,7 +1478,7 @@ bool LoadOldSaveGame(const char *file) // go through the tables and see if we can find any ttdpatch presignals. Then convert those to our format. for (i = 0; i != map_size; i++) { - if (IS_TILETYPE(i, MP_RAILWAY) && (_map5[i] & 0xC0) == 0x40) { + if (IsTileType(i, MP_RAILWAY) && (_map5[i] & 0xC0) == 0x40) { // this byte is always zero in real ttd. if (_map3_hi[i]) { // convert ttdpatch presignal format to openttd presignal format. -- cgit v1.2.3-54-g00ecf