From f7e39977de019d2bf20c4850fa3aa28deeb75854 Mon Sep 17 00:00:00 2001 From: dominik Date: Wed, 19 Jan 2005 20:55:23 +0000 Subject: (svn r1571) Feature: Visually enhanced autorail placing When using the autorail tool, the rail pieces which are going to be build are highlighted. If a piece is shown in red, this indicates that the slope/rail combination is impossible. It does not tell you if the rail line construction might not be possible because of other obstacles, e.g. houses or water. --- spritecache.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'spritecache.c') diff --git a/spritecache.c b/spritecache.c index fae4238ea..c7f32b4f3 100644 --- a/spritecache.c +++ b/spritecache.c @@ -883,6 +883,9 @@ static void LoadSpriteTables() LoadGrfIndexed("trkfoundw.grf", _slopes_spriteindexes[_opt.landscape], i++); + load_index = SPR_AUTORAIL_BASE; + load_index += LoadGrfFile("autorail.grf", load_index, i++); + load_index = SPR_CANALS_BASE; load_index += LoadGrfFile("canalsw.grf", load_index, i++); -- cgit v1.2.3-54-g00ecf