mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-22 18:09:41 +00:00
Remove unused data field (#3133)
This commit is contained in:
parent
957c25a491
commit
1109cc3ac7
2 changed files with 2 additions and 4 deletions
|
@ -191,7 +191,7 @@ namespace MWRender
|
||||||
if (model.empty()) continue;
|
if (model.empty()) continue;
|
||||||
model = "meshes/" + model;
|
model = "meshes/" + model;
|
||||||
|
|
||||||
instances[model].emplace_back(std::move(ref), std::move(model));
|
instances[model].emplace_back(std::move(ref));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,10 +24,8 @@ namespace MWRender
|
||||||
{
|
{
|
||||||
ESM::Position mPos;
|
ESM::Position mPos;
|
||||||
float mScale;
|
float mScale;
|
||||||
std::string mModel;
|
|
||||||
|
|
||||||
GroundcoverEntry(const ESM::CellRef& ref, const std::string& model):
|
GroundcoverEntry(const ESM::CellRef& ref) : mPos(ref.mPos), mScale(ref.mScale)
|
||||||
mPos(ref.mPos), mScale(ref.mScale), mModel(model)
|
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue