equal
deleted
inserted
replaced
1000 |
1000 |
1001 if (!(ti->map5 & 0x40)) { // bridge ramps |
1001 if (!(ti->map5 & 0x40)) { // bridge ramps |
1002 if (!(BRIDGE_NO_FOUNDATION & (1 << ti->tileh))) { // no foundations for 0, 3, 6, 9, 12 |
1002 if (!(BRIDGE_NO_FOUNDATION & (1 << ti->tileh))) { // no foundations for 0, 3, 6, 9, 12 |
1003 int f = GetBridgeFoundation(ti->tileh, ti->map5 & 0x1); // pass direction |
1003 int f = GetBridgeFoundation(ti->tileh, ti->map5 & 0x1); // pass direction |
1004 if (f) DrawFoundation(ti, f); |
1004 if (f) DrawFoundation(ti, f); |
1005 |
|
1006 // default sloped sprites.. |
|
1007 if (ti->tileh != 0) image = SPR_RAIL_TRACK_Y + _track_sloped_sprites[ti->tileh - 1]; |
|
1008 } |
1005 } |
1009 |
1006 |
1010 /* Cope for the direction of the bridge */ |
1007 /* Cope for the direction of the bridge */ |
1011 if (HASBIT(ti->map5, 0)) base_offset++; |
1008 if (HASBIT(ti->map5, 0)) base_offset++; |
1012 |
1009 |