1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 03:49:41 +00:00

Build fix

This commit is contained in:
scrawl 2015-04-10 15:31:19 +02:00
parent 433e29f297
commit 642c1d2d36

View file

@ -19,11 +19,8 @@ namespace MWClass
void Static::insertObjectRendering (const MWWorld::Ptr& ptr, const std::string& model, MWRender::RenderingInterface& renderingInterface) const
{
MWWorld::LiveCellRef<ESM::Static> *ref =
ptr.get<ESM::Static>();
if (!model.empty()) {
renderingInterface.getObjects().insertModel(ptr, model, !ref->mBase->mPersistent);
renderingInterface.getObjects().insertModel(ptr, model);
}
}