diff options
author | frosch <frosch@openttd.org> | 2013-11-17 16:02:39 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-11-17 16:02:39 +0000 |
commit | ec4806a82dd36ea81ba3b4351478016eac10745b (patch) | |
tree | f031dd5b10c533938a5a1e2258701e2bdeccd26b | |
parent | 8fbd2f5cb5e11b0c4b723a9e1115fee2cf3a4c69 (diff) | |
download | openttd-ec4806a82dd36ea81ba3b4351478016eac10745b.tar.xz |
(svn r26027) -Change [FS#5669-ish]: [NewGRF] Invalidate vehicle colour palette when leaving a station.
-rw-r--r-- | src/vehicle.cpp | 2 |
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(); } /** |