summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-11-17 16:02:39 +0000
committerfrosch <frosch@openttd.org>2013-11-17 16:02:39 +0000
commitec4806a82dd36ea81ba3b4351478016eac10745b (patch)
treef031dd5b10c533938a5a1e2258701e2bdeccd26b /src/vehicle.cpp
parent8fbd2f5cb5e11b0c4b723a9e1115fee2cf3a4c69 (diff)
downloadopenttd-ec4806a82dd36ea81ba3b4351478016eac10745b.tar.xz
(svn r26027) -Change [FS#5669-ish]: [NewGRF] Invalidate vehicle colour palette when leaving a station.
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r--src/vehicle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index 9b509404e..6a25d080b 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -2115,6 +2115,8 @@ void Vehicle::LeaveStation()
SetBit(Train::From(this)->flags, VRF_LEAVING_STATION);
}
+
+ this->MarkDirty();
}
/**