diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf_engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_engine.cpp b/src/newgrf_engine.cpp index f69142a25..6e0ce75ec 100644 --- a/src/newgrf_engine.cpp +++ b/src/newgrf_engine.cpp @@ -596,7 +596,7 @@ static uint32 VehicleGetVariable(const ResolverObject *object, byte variable, by 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(); |