diff options
author | alberth <alberth@openttd.org> | 2010-03-06 13:23:33 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-03-06 13:23:33 +0000 |
commit | 6a3dbaf99a91aa223b2541c172f0ded06c55baf2 (patch) | |
tree | 49acf1aa8af1af505e37797a833d9c969d345d2a /src/base_station_base.h | |
parent | ef5764f98a665f554d168c10ac4f5b147d7e0dc3 (diff) | |
download | openttd-6a3dbaf99a91aa223b2541c172f0ded06c55baf2.tar.xz |
(svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost.
Diffstat (limited to 'src/base_station_base.h')
-rw-r--r-- | src/base_station_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base_station_base.h b/src/base_station_base.h index d6d97cc83..e652c3264 100644 --- a/src/base_station_base.h +++ b/src/base_station_base.h @@ -41,7 +41,7 @@ struct StationRect : public Rect { bool PtInExtendedRect(int x, int y, int distance = 0) const; bool IsEmpty() const; CommandCost BeforeAddTile(TileIndex tile, StationRectMode mode); - bool BeforeAddRect(TileIndex tile, int w, int h, StationRectMode mode); + CommandCost BeforeAddRect(TileIndex tile, int w, int h, StationRectMode mode); bool AfterRemoveTile(BaseStation *st, TileIndex tile); bool AfterRemoveRect(BaseStation *st, TileIndex tile, int w, int h); |