1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-30 04:11:34 +00:00

Fix copy-paste error

This commit is contained in:
Andrei Kortunov 2019-11-13 15:14:21 +04:00
parent 7074baa1c2
commit 238dcdbbd4

View file

@ -1227,7 +1227,7 @@ void CSVRender::TerrainShapeMode::createNewLandData(const CSMWorld::CellCoordina
++averageDivider;
downCellSampleHeight = landDownShapePointer[ESM::Land::LAND_SIZE / 2];
if(paged->getCellAlteredHeight(cellLeftCoords, ESM::Land::LAND_SIZE / 2, 0))
if(paged->getCellAlteredHeight(cellDownCoords, ESM::Land::LAND_SIZE / 2, 0))
downCellSampleHeight += *paged->getCellAlteredHeight(cellDownCoords, ESM::Land::LAND_SIZE / 2, 0);
}
}