forked from teamnwah/openmw-tes3coop
fix to previous commit
This commit is contained in:
parent
e94fcce622
commit
7b4d8afde7
1 changed files with 2 additions and 2 deletions
|
@ -465,7 +465,7 @@ namespace MWWorld
|
||||||
iter!=mWorldScene->getActiveCells().end(); ++iter)
|
iter!=mWorldScene->getActiveCells().end(); ++iter)
|
||||||
{
|
{
|
||||||
Ptr::CellStore* cellstore = *iter;
|
Ptr::CellStore* cellstore = *iter;
|
||||||
Ptr ptr = mCells.getPtr (name, *cellstore);
|
Ptr ptr = mCells.getPtr (name, *cellstore, true);
|
||||||
|
|
||||||
if (!ptr.isEmpty())
|
if (!ptr.isEmpty())
|
||||||
return ptr;
|
return ptr;
|
||||||
|
@ -1772,7 +1772,7 @@ namespace MWWorld
|
||||||
void World::enableActorCollision(const MWWorld::Ptr& actor, bool enable)
|
void World::enableActorCollision(const MWWorld::Ptr& actor, bool enable)
|
||||||
{
|
{
|
||||||
OEngine::Physic::PhysicActor *physicActor = mPhysEngine->getCharacter(actor.getRefData().getHandle());
|
OEngine::Physic::PhysicActor *physicActor = mPhysEngine->getCharacter(actor.getRefData().getHandle());
|
||||||
|
|
||||||
physicActor->enableCollisions(enable);
|
physicActor->enableCollisions(enable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue