summaryrefslogtreecommitdiff
path: root/src/station.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-06-08 09:35:39 +0000
committerpeter1138 <peter1138@openttd.org>2007-06-08 09:35:39 +0000
commitf2e0912ce9dd919fca681339521a001ad9689c74 (patch)
tree2e4dbdfce24473a173e2061ef009fc3d4a98f929 /src/station.h
parent906385eb3d07ed913066e9c92fcb9da9f3758fa3 (diff)
downloadopenttd-f2e0912ce9dd919fca681339521a001ad9689c74.tar.xz
(svn r10062) -Codechange: Don't redraw all station tiles when cargo is added or removed if the station has no custom graphics.
Diffstat (limited to 'src/station.h')
-rw-r--r--src/station.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station.h b/src/station.h
index fb3bbd727..86857860a 100644
--- a/src/station.h
+++ b/src/station.h
@@ -182,7 +182,7 @@ struct Station {
void AddFacility(byte new_facility_bit, TileIndex facil_xy);
void MarkDirty() const;
- void MarkTilesDirty() const;
+ void MarkTilesDirty(bool cargo_change) const;
bool TileBelongsToRailStation(TileIndex tile) const;
uint GetPlatformLength(TileIndex tile, DiagDirection dir) const;
uint GetPlatformLength(TileIndex tile) const;