comparison src/newgrf.cpp @ 17664:01325f5f9d52 draft

(svn r22436) -Fix (r18969): Apply railtype property 12 (station graphics) also to station groundsprites from action 1.
author frosch <frosch@openttd.org>
date Sun, 08 May 2011 15:58:59 +0000
parents dd146c861a88
children bfc4a902068f
comparison
equal deleted inserted replaced
17663:d6bd3e10d87f 17664:01325f5f9d52
3277 case 0x11: // Curve speed advantage 3277 case 0x11: // Curve speed advantage
3278 rti->curve_speed = buf->ReadByte(); 3278 rti->curve_speed = buf->ReadByte();
3279 break; 3279 break;
3280 3280
3281 case 0x12: // Station graphic 3281 case 0x12: // Station graphic
3282 rti->total_offset = Clamp(buf->ReadByte(), 0, 2) * 82; 3282 rti->fallback_railtype = Clamp(buf->ReadByte(), 0, 2);
3283 break; 3283 break;
3284 3284
3285 case 0x13: // Construction cost factor 3285 case 0x13: // Construction cost factor
3286 rti->cost_multiplier = buf->ReadWord(); 3286 rti->cost_multiplier = buf->ReadWord();
3287 break; 3287 break;