summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-02-07 12:04:44 +0000
committerfrosch <frosch@openttd.org>2010-02-07 12:04:44 +0000
commitfb9b833dc49674ffa98402cb6a66347e0fd8eef5 (patch)
treec67ae3626e8301a6119b320a781592e540296916 /src/newgrf.cpp
parent76dbdca2f87fcd1cbbc6364a2082d63ed2209761 (diff)
downloadopenttd-fb9b833dc49674ffa98402cb6a66347e0fd8eef5.tar.xz
(svn r19053) -Codechange: Add an enum for the special flags of industry tiles. (based on andythenorth' work)
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 786c5f373..f8d988489 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -2160,7 +2160,7 @@ static ChangeInfoResult IndustrytilesChangeInfo(uint indtid, int numinfo, int pr
break;
case 0x12: // Special flags
- tsp->animation_special_flags = buf->ReadByte();
+ tsp->special_flags = (IndustryTileSpecialFlags)buf->ReadByte();
break;
default: