summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-05-08 15:58:59 +0000
committerfrosch <frosch@openttd.org>2011-05-08 15:58:59 +0000
commit76c7cbff70e2cd4ea86a58f3efe2eed1839e5986 (patch)
tree96f7daf731da1dbbae4d6798f86a0dc2c59ba231 /src/newgrf.cpp
parent28067c21d5cc155f72c85374f8463bf8ceb1f0a0 (diff)
downloadopenttd-76c7cbff70e2cd4ea86a58f3efe2eed1839e5986.tar.xz
(svn r22436) -Fix (r18969): Apply railtype property 12 (station graphics) also to station groundsprites from action 1.
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 f5e67aa1e..dcd34de0a 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -3279,7 +3279,7 @@ static ChangeInfoResult RailTypeChangeInfo(uint id, int numinfo, int prop, ByteR
break;
case 0x12: // Station graphic
- rti->total_offset = Clamp(buf->ReadByte(), 0, 2) * 82;
+ rti->fallback_railtype = Clamp(buf->ReadByte(), 0, 2);
break;
case 0x13: // Construction cost factor