File diff r21574:439d426c94f7 → r21575:52da6ae0d4f8
src/vehicle.cpp
Show inline comments
 
@@ -235,6 +235,9 @@ void ShowNewGrfVehicleError(EngineID eng
 
	const Engine *e = Engine::Get(engine);
 
	GRFConfig *grfconfig = GetGRFConfig(e->GetGRFID());
 

	
 
	/* Missing GRF. Nothing useful can be done in this situation. */
 
	if (grfconfig == NULL) return;
 

	
 
	if (!HasBit(grfconfig->grf_bugs, bug_type)) {
 
		SetBit(grfconfig->grf_bugs, bug_type);
 
		SetDParamStr(0, grfconfig->GetName());