summaryrefslogtreecommitdiff
path: root/src/newgrf_spritegroup.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-07-10 10:55:16 +0000
committerfrosch <frosch@openttd.org>2010-07-10 10:55:16 +0000
commit9060a7ac00075e506a9745356a674e55c0b53c2b (patch)
tree576edf39c06aff36d20fea7f7807304138c8cd56 /src/newgrf_spritegroup.h
parent969c059feae435ff5cabb2f33d10d939b318ec02 (diff)
downloadopenttd-9060a7ac00075e506a9745356a674e55c0b53c2b.tar.xz
(svn r20108) -Change: [NewGRF] Report substitute industry type in AI railstation selection callback.
Diffstat (limited to 'src/newgrf_spritegroup.h')
-rw-r--r--src/newgrf_spritegroup.h4
1 files changed, 2 insertions, 2 deletions
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;