--- a/src/station_cmd.cpp Wed Aug 08 02:09:50 2007 +0000
+++ b/src/station_cmd.cpp Thu Aug 09 02:43:04 2007 +0000
@@ -2165,7 +2165,7 @@
/* Ensure the chosen tile layout is valid for this custom station */
if (fsmportspec->renderdata != NULL) {
- t = &fsmportspec->renderdata[tile < fsmportspec->tiles ? tile : (uint)GetRailStationAxis(ti->tile)];
+ t = &fsmportspec->renderdata[tile < fsmportspec->tiles ? tile : 0];
}
}
}
@@ -2322,16 +2322,17 @@
// hardcoded.....not good
switch (GetStationType(tile)) {
case STATION_AIRPORT:
- switch (GetStationGfx(tile)) {
- case GFX_RADAR_LARGE_FIRST:
- case GFX_WINDSACK_FIRST : // for small airport
- case GFX_RADAR_INTERNATIONAL_FIRST:
- case GFX_RADAR_METROPOLITAN_FIRST:
- case GFX_RADAR_DISTRICTWE_FIRST: // radar district W-E airport
- case GFX_WINDSACK_INTERCON_FIRST : // for intercontinental airport
- AddAnimatedTile(tile);
- break;
- }
+ //TODO: animated tiles from newgrf
+ //switch (GetStationGfx(tile)) {
+ // case GFX_RADAR_LARGE_FIRST:
+ // case GFX_WINDSACK_FIRST : // for small airport
+ // case GFX_RADAR_INTERNATIONAL_FIRST:
+ // case GFX_RADAR_METROPOLITAN_FIRST:
+ // case GFX_RADAR_DISTRICTWE_FIRST: // radar district W-E airport
+ // case GFX_WINDSACK_INTERCON_FIRST : // for intercontinental airport
+ // AddAnimatedTile(tile);
+ // break;
+ //}
break;
case STATION_OILRIG: //(station part)