summaryrefslogtreecommitdiff
path: root/newgrf_station.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-07-29 17:39:58 +0000
committertron <tron@openttd.org>2006-07-29 17:39:58 +0000
commit801bf631b0d95c30032fe59640b932c867b4b4d3 (patch)
treed36be930a050f4fac340789740d505fd5b916581 /newgrf_station.h
parentfef9818d3cee1c2d15a25d1b5fa83c5c26bfde16 (diff)
downloadopenttd-801bf631b0d95c30032fe59640b932c867b4b4d3.tar.xz
(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
Diffstat (limited to 'newgrf_station.h')
-rw-r--r--newgrf_station.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_station.h b/newgrf_station.h
index 98dc1b75e..b1f135e54 100644
--- a/newgrf_station.h
+++ b/newgrf_station.h
@@ -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);