Update to 12.0-beta1
This commit is contained in:
@@ -57,8 +57,6 @@ struct AirportResolverObject : public ResolverObject {
|
||||
}
|
||||
}
|
||||
|
||||
const SpriteGroup *ResolveReal(const RealSpriteGroup *group) const override;
|
||||
|
||||
GrfSpecFeature GetFeature() const override;
|
||||
uint32 GetDebugID() const override;
|
||||
};
|
||||
@@ -219,16 +217,6 @@ void AirportOverrideManager::SetEntitySpec(AirportSpec *as)
|
||||
return this->st->GetNewGRFVariable(this->ro, variable, parameter, available);
|
||||
}
|
||||
|
||||
/* virtual */ const SpriteGroup *AirportResolverObject::ResolveReal(const RealSpriteGroup *group) const
|
||||
{
|
||||
/* Airport action 2s should always have only 1 "loaded" state, but some
|
||||
* times things don't follow the spec... */
|
||||
if (group->num_loaded > 0) return group->loaded[0];
|
||||
if (group->num_loading > 0) return group->loading[0];
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
GrfSpecFeature AirportResolverObject::GetFeature() const
|
||||
{
|
||||
return GSF_AIRPORTS;
|
||||
|
||||
Reference in New Issue
Block a user