summaryrefslogtreecommitdiff
path: root/src/station.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-18 23:09:43 +0000
committerrubidium <rubidium@openttd.org>2011-01-18 23:09:43 +0000
commit9ca4b629cd91c2749d9efafd752fc5175ebce5fd (patch)
tree24da99d42f3e33eb7f4109462dcced5adc6eab15 /src/station.cpp
parent7efd7e19ed046a4a0c03077f27930291ba5b9725 (diff)
downloadopenttd-9ca4b629cd91c2749d9efafd752fc5175ebce5fd.tar.xz
(svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s].
Diffstat (limited to 'src/station.cpp')
-rw-r--r--src/station.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/station.cpp b/src/station.cpp
index 003798a8f..cafdf51f2 100644
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -155,6 +155,11 @@ void Station::AddFacility(StationFacility new_facility_bit, TileIndex facil_xy)
this->build_date = _date;
}
+/**
+ * Marks the tiles of the station as dirty.
+ *
+ * @ingroup dirty
+ */
void Station::MarkTilesDirty(bool cargo_change) const
{
TileIndex tile = this->train_station.tile;