mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-10 18:30:54 +00:00
maybe_unused_yes_it_is
This commit is contained in:
parent
80a6d13be5
commit
4c0506777e
1 changed files with 1 additions and 1 deletions
|
|
@ -457,7 +457,7 @@ namespace MWWorld
|
|||
mPhysics->addHeightField(defaultHeight.data(), cellX, cellY, worldsize, verts,
|
||||
ESM::Land::DEFAULT_HEIGHT, ESM::Land::DEFAULT_HEIGHT, land.get());
|
||||
}
|
||||
if (const auto heightField = mPhysics->getHeightField(cellX, cellY))
|
||||
if ([[maybe_unused]] const auto heightField = mPhysics->getHeightField(cellX, cellY))
|
||||
{
|
||||
const osg::Vec2i cellPosition(cellX, cellY);
|
||||
const HeightfieldShape shape = [&]() -> HeightfieldShape {
|
||||
|
|
|
|||
Loading…
Reference in a new issue