fix to previous commit

This commit is contained in:
Marc Zinnschlag 2013-08-15 15:53:50 +02:00
parent e94fcce622
commit 7b4d8afde7

View file

@ -465,7 +465,7 @@ namespace MWWorld
iter!=mWorldScene->getActiveCells().end(); ++iter)
{
Ptr::CellStore* cellstore = *iter;
Ptr ptr = mCells.getPtr (name, *cellstore);
Ptr ptr = mCells.getPtr (name, *cellstore, true);
if (!ptr.isEmpty())
return ptr;
@ -1772,7 +1772,7 @@ namespace MWWorld
void World::enableActorCollision(const MWWorld::Ptr& actor, bool enable)
{
OEngine::Physic::PhysicActor *physicActor = mPhysEngine->getCharacter(actor.getRefData().getHandle());
physicActor->enableCollisions(enable);
}