(svn r8536) -Fix (FS#577): Road Vehicles now can obtain a slot even if the station is very spread out

This commit is contained in:
celestar
2007-02-02 16:51:10 +00:00
parent 1c013055b6
commit 22dc618582
3 changed files with 22 additions and 7 deletions

View File

@@ -84,7 +84,7 @@ struct StationRect : public Rect {
StationRect();
void MakeEmpty();
bool PtInRectXY(int x, int y) const;
bool PtInExtendedRect(int x, int y, int distance = 0) const;
bool IsEmpty() const;
bool BeforeAddTile(TileIndex tile, StationRectMode mode);
bool BeforeAddRect(TileIndex tile, int w, int h, StationRectMode mode);