1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-20 14:11:32 +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; } std::span<const uint16_t> getTextures() const override { return mTextures; }
float getSize() const override { return REAL_SIZE; } float getSize() const override { return REAL_SIZE; }
float getMinHeight() const override { return mMinHeight; } float getMinHeight() const override { return mMinHeight; }
float getMaxHeight() const { return mMaxHeight; } float getMaxHeight() const override { return mMaxHeight; }
int getLandSize() const { return LAND_SIZE; } int getLandSize() const override { return LAND_SIZE; }
}; };
// low-LOD heightmap (used for rendering the global map) // low-LOD heightmap (used for rendering the global map)

View file

@ -158,11 +158,11 @@ namespace ESM4
{ {
return mMinHeight; return mMinHeight;
} }
float getMaxHeight() const float getMaxHeight() const override
{ {
return mMaxHeight; return mMaxHeight;
} }
int getLandSize() const int getLandSize() const override
{ {
return VERTS_PER_SIDE; return VERTS_PER_SIDE;
} }