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
commit9c66082b079af7f608d033225c1544558c93a715 (patch)
tree2e4dbdfce24473a173e2061ef009fc3d4a98f929 /src/station.h
parent29f6ae952cdbd3ff702c84b6ad1e4a68968dc9ce (diff)
downloadopenttd-9c66082b079af7f608d033225c1544558c93a715.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;