Skip to content

Commit

Permalink
Fix for broken levelled creature spawning (Fixes #2365)
Browse files Browse the repository at this point in the history
  • Loading branch information
scrawl committed Feb 11, 2015
1 parent dbd4abd commit dfaab11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/openmw/mwclass/creaturelevlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ namespace MWClass
registerClass (typeid (ESM::CreatureLevList).name(), instance);
}

void CreatureLevList::insertObjectRendering(const MWWorld::Ptr &ptr, MWRender::RenderingInterface &renderingInterface) const
void CreatureLevList::insertObjectRendering(const MWWorld::Ptr &ptr, const std::string& model, MWRender::RenderingInterface &renderingInterface) const
{
ensureCustomData(ptr);

Expand Down
2 changes: 1 addition & 1 deletion apps/openmw/mwclass/creaturelevlist.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace MWClass

static void registerSelf();

virtual void insertObjectRendering (const MWWorld::Ptr& ptr, MWRender::RenderingInterface& renderingInterface) const;
virtual void insertObjectRendering (const MWWorld::Ptr& ptr, const std::string& model, MWRender::RenderingInterface& renderingInterface) const;
///< Add reference into a cell for rendering

virtual void readAdditionalState (const MWWorld::Ptr& ptr, const ESM::ObjectState& state)
Expand Down

0 comments on commit dfaab11

Please sign in to comment.