Use correct sprites for newgrf stations building preview
This commit is contained in:
@@ -90,7 +90,7 @@ static const int HOTKEY_BLUEPRINT_SAVE_END = 0x1040;
|
||||
// uint16_t station_type; ///< %Station type within the currently selected custom station class (if newstations is \c true )
|
||||
// uint16_t station_count; ///< Number of custom stations (if newstations is \c true )
|
||||
// };
|
||||
citymania::RailStationGUISettings _railstation; ///< Settings of the station builder GUI
|
||||
RailStationGUISettings _railstation; ///< Settings of the station builder GUI
|
||||
|
||||
|
||||
static void HandleStationPlacement(TileIndex start, TileIndex end);
|
||||
@@ -214,7 +214,7 @@ static void PlaceRail_Station(TileIndex tile)
|
||||
int h = _settings_client.gui.station_platlength;
|
||||
if (!_railstation.orientation) Swap(w, h);
|
||||
|
||||
citymania::RailStationGUISettings params = _railstation;
|
||||
RailStationGUISettings params = _railstation;
|
||||
RailType rt = _cur_railtype;
|
||||
byte numtracks = _settings_client.gui.station_numtracks;
|
||||
byte platlength = _settings_client.gui.station_platlength;
|
||||
@@ -1129,7 +1129,7 @@ static void HandleStationPlacement(TileIndex start, TileIndex end)
|
||||
|
||||
if (_railstation.orientation == AXIS_X) Swap(numtracks, platlength);
|
||||
|
||||
citymania::RailStationGUISettings params = _railstation;
|
||||
RailStationGUISettings params = _railstation;
|
||||
RailType rt = _cur_railtype;
|
||||
bool adjacent = citymania::_fn_mod;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user