forked from mirror/openmw-tes3mp
Fix physics bug
This commit is contained in:
parent
51b892195b
commit
4b0ecaa0a0
2 changed files with 1 additions and 1 deletions
|
@ -246,6 +246,7 @@ namespace MWWorld
|
|||
{
|
||||
MWWorld::Ptr copied = object.getClass().copyToCell(object, *cellToMoveTo);
|
||||
object.getRefData().setCount(0);
|
||||
object.getRefData().setBaseNode(NULL);
|
||||
return copied;
|
||||
}
|
||||
|
||||
|
|
|
@ -1171,7 +1171,6 @@ namespace MWWorld
|
|||
newPtr = currCell->moveTo(ptr, newCell);
|
||||
|
||||
mRendering->updatePtr(ptr, newPtr);
|
||||
ptr.getRefData().setBaseNode(NULL);
|
||||
MWBase::Environment::get().getSoundManager()->updatePtr (ptr, newPtr);
|
||||
mPhysics->updatePtr(ptr, newPtr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue