Build fix

c++11
scrawl 10 years ago
parent 433e29f297
commit 642c1d2d36

@ -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);
}
}

Loading…
Cancel
Save