mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-31 22:15:35 +00:00
Merge branch 'fix_build' into 'master'
Fix build on ubuntu 18.04 See merge request OpenMW/openmw!1487
This commit is contained in:
commit
0aa103c6d8
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ namespace NavMeshTool
|
|||
|
||||
ESM::Land::LandData& landData = *landDatas.emplace_back(std::make_unique<ESM::Land::LandData>());
|
||||
land->loadData(ESM::Land::DATA_VHGT, &landData);
|
||||
heightfields.emplace_back(std::vector(std::begin(landData.mHeights), std::end(landData.mHeights)));
|
||||
heightfields.push_back(std::vector<float>(std::begin(landData.mHeights), std::end(landData.mHeights)));
|
||||
HeightfieldSurface surface;
|
||||
surface.mHeights = heightfields.back().data();
|
||||
surface.mMinHeight = landData.mMinHeight;
|
||||
|
|
Loading…
Reference in a new issue