From 9060a7ac00075e506a9745356a674e55c0b53c2b Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 10 Jul 2010 10:55:16 +0000 Subject: (svn r20108) -Change: [NewGRF] Report substitute industry type in AI railstation selection callback. --- src/newgrf_spritegroup.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/newgrf_spritegroup.h') diff --git a/src/newgrf_spritegroup.h b/src/newgrf_spritegroup.h index a2d94fe97..4ee77a29a 100644 --- a/src/newgrf_spritegroup.h +++ b/src/newgrf_spritegroup.h @@ -334,8 +334,8 @@ struct ResolverObject { struct { CargoID cargo_type; uint8 default_selection; - IndustryType src_industry; - IndustryType dst_industry; + uint8 src_industry; ///< Source industry substitute type. 0xFF for "town", 0xFE for "unknown". + uint8 dst_industry; ///< Destination industry substitute type. 0xFF for "town", 0xFE for "unknown". uint8 distance; AIConstructionEvent event; uint8 count; -- cgit v1.2.3-54-g00ecf