1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-04-17 02:42:45 +00:00

fixes functions that were virtual but not tagged as override.

This commit is contained in:
florent.teppe 2023-05-19 23:38:20 +02:00
parent 7d88a240d3
commit f600730459
2 changed files with 4 additions and 4 deletions

View File

@ -130,8 +130,8 @@ namespace ESM
std::span<const uint16_t> 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)

View File

@ -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;
}