(svn r5632) Replace a boolean variable in DeallocateSpecFromStation() by a return
Also set the return type to void, because the caller doesn't care about it
This commit is contained in:
@@ -120,7 +120,7 @@ bool IsStationTileElectrifiable(TileIndex tile);
|
||||
int AllocateSpecToStation(const StationSpec *statspec, Station *st, bool exec);
|
||||
|
||||
/* Deallocate a StationSpec from a Station. Called when removing a single station tile. */
|
||||
bool DeallocateSpecFromStation(Station *st, byte specindex);
|
||||
void DeallocateSpecFromStation(Station* st, byte specindex);
|
||||
|
||||
/* Draw representation of a station tile for GUI purposes. */
|
||||
bool DrawStationTile(int x, int y, RailType railtype, Axis axis, StationClassID sclass, uint station);
|
||||
|
||||
Reference in New Issue
Block a user