(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:
tron
2006-07-29 17:39:58 +00:00
parent b3ab20fccb
commit 9f4c19e72b
2 changed files with 17 additions and 24 deletions

View File

@@ -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);