diff --git a/game/mwrender/interior.hpp b/game/mwrender/interior.hpp index 38906e4a0..3612fc98a 100644 --- a/game/mwrender/interior.hpp +++ b/game/mwrender/interior.hpp @@ -43,26 +43,7 @@ namespace MWRender /// finish inserting a new reference and return a handle to it. virtual std::string insertEnd(); - - template - void insertObj(const T& liveRef) - { - assert (liveRef.base != NULL); - const std::string &model = liveRef.base->model; - if(!model.empty()) - insertMesh ("meshes\\" + model, liveRef.ref); - } - - template - void insertCellRefList (const T& cellRefList) - { - for(typename T::List::const_iterator it = cellRefList.list.begin(); - it != cellRefList.list.end(); it++) - { - insertObj (*it); - } - } - + public: InteriorCellRender(const ESMS::CellStore &_cell, MWScene &_scene)