From f600730459b9a9cc3a425ca5333a0b871802b12e Mon Sep 17 00:00:00 2001 From: "florent.teppe" Date: Fri, 19 May 2023 23:38:20 +0200 Subject: [PATCH] fixes functions that were virtual but not tagged as override. --- components/esm3/loadland.hpp | 4 ++-- components/esm4/loadland.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/esm3/loadland.hpp b/components/esm3/loadland.hpp index 48db2dd9c1..9cebc935d6 100644 --- a/components/esm3/loadland.hpp +++ b/components/esm3/loadland.hpp @@ -130,8 +130,8 @@ namespace ESM std::span getTextures() const override { return mTextures; } float getSize() const override { return REAL_SIZE; } float getMinHeight() const override { return mMinHeight; } - float getMaxHeight() const { return mMaxHeight; } - int getLandSize() const { return LAND_SIZE; } + float getMaxHeight() const override { return mMaxHeight; } + int getLandSize() const override { return LAND_SIZE; } }; // low-LOD heightmap (used for rendering the global map) diff --git a/components/esm4/loadland.hpp b/components/esm4/loadland.hpp index 85596b2cfe..7b26f95bc5 100644 --- a/components/esm4/loadland.hpp +++ b/components/esm4/loadland.hpp @@ -158,11 +158,11 @@ namespace ESM4 { return mMinHeight; } - float getMaxHeight() const + float getMaxHeight() const override { return mMaxHeight; } - int getLandSize() const + int getLandSize() const override { return VERTS_PER_SIDE; }