mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 10:21:09 +00:00
fix to previous commit
This commit is contained in:
parent
e94fcce622
commit
7b4d8afde7
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user