diff options
author | PeterN <peter1138@openttd.org> | 2020-01-26 16:19:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-26 16:19:04 +0000 |
commit | fff05cf11783c6f698afa29d9f663a26501b3d3a (patch) | |
tree | 834b6fa928e4422babbb37853e01de529dd406e3 | |
parent | 2158e26b9e602dd4e69c34b3f7e29d17da38e7ac (diff) | |
download | openttd-fff05cf11783c6f698afa29d9f663a26501b3d3a.tar.xz |
Fix #7868: Missing override attribute. (#7963)
-rw-r--r-- | src/newgrf_roadtype.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_roadtype.h b/src/newgrf_roadtype.h index 56b65f127..07451f656 100644 --- a/src/newgrf_roadtype.h +++ b/src/newgrf_roadtype.h @@ -32,7 +32,7 @@ struct RoadTypeResolverObject : public ResolverObject { RoadTypeResolverObject(const RoadTypeInfo *rti, TileIndex tile, TileContext context, RoadTypeSpriteGroup rtsg, uint32 param1 = 0, uint32 param2 = 0); - /* virtual */ ScopeResolver *GetScope(VarSpriteGroupScope scope = VSG_SCOPE_SELF, byte relative = 0) + ScopeResolver *GetScope(VarSpriteGroupScope scope = VSG_SCOPE_SELF, byte relative = 0) override { switch (scope) { case VSG_SCOPE_SELF: return &this->roadtype_scope; @@ -40,7 +40,7 @@ struct RoadTypeResolverObject : public ResolverObject { } } - /* virtual */ const SpriteGroup *ResolveReal(const RealSpriteGroup *group) const; + const SpriteGroup *ResolveReal(const RealSpriteGroup *group) const override; GrfSpecFeature GetFeature() const override; uint32 GetDebugID() const override; |