Changeset - r20957:6ea9e0403a6e
[Not reviewed]
master
0 1 0
frosch - 11 years ago 2013-11-17 16:02:39
frosch@openttd.org
(svn r26027) -Change [FS#5669-ish]: [NewGRF] Invalidate vehicle colour palette when leaving a station.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/vehicle.cpp
Show inline comments
 
@@ -2112,12 +2112,14 @@ void Vehicle::LeaveStation()
 
			TriggerStationRandomisation(st, this->tile, SRT_TRAIN_DEPARTS);
 
			TriggerStationAnimation(st, this->tile, SAT_TRAIN_DEPARTS);
 
		}
 

	
 
		SetBit(Train::From(this)->flags, VRF_LEAVING_STATION);
 
	}
 

	
 
	this->MarkDirty();
 
}
 

	
 
/**
 
 * Reset all refit_cap in the consist to cargo_cap.
 
 */
 
void Vehicle::ResetRefitCaps()
0 comments (0 inline, 0 general)