File diff r18110:a70f203147d3 → r18111:ddb48f8dea5e
src/newgrf_engine.cpp
Show inline comments
 
@@ -596,7 +596,7 @@ static uint32 VehicleGetVariable(const R
 
			return v->grf_cache.company_information;
 

	
 
		case 0x44: // Aircraft information
 
			if (v->type != VEH_AIRCRAFT) return UINT_MAX;
 
			if (v->type != VEH_AIRCRAFT || !Aircraft::From(v)->IsNormalAircraft()) return UINT_MAX;
 

	
 
			{
 
				const Vehicle *w = v->Next();