mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 07:21:12 +00:00
Remove redundant call to resetPosition(). adjustPosition() takes care of
it,
This commit is contained in:
parent
a1065c8376
commit
24a8b8c66a
@ -694,8 +694,6 @@ namespace MWPhysics
|
||||
if (found != mActors.end())
|
||||
{
|
||||
bool cmode = found->second->getCollisionMode();
|
||||
if (cmode)
|
||||
resetPosition(found->first);
|
||||
cmode = !cmode;
|
||||
found->second->enableCollisionMode(cmode);
|
||||
// NB: Collision body isn't disabled for vanilla TCL compatibility
|
||||
|
Loading…
x
Reference in New Issue
Block a user