fixes functions that were virtual but not tagged as override.

macos_ci
florent.teppe 2 years ago
parent 7d88a240d3
commit f600730459

@ -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)

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

Loading…
Cancel
Save