mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-05 18:49:40 +00:00
Remove redundant call to resetPosition(). adjustPosition() takes care of
it,
This commit is contained in:
parent
a1065c8376
commit
24a8b8c66a
1 changed files with 0 additions and 2 deletions
|
@ -694,8 +694,6 @@ namespace MWPhysics
|
||||||
if (found != mActors.end())
|
if (found != mActors.end())
|
||||||
{
|
{
|
||||||
bool cmode = found->second->getCollisionMode();
|
bool cmode = found->second->getCollisionMode();
|
||||||
if (cmode)
|
|
||||||
resetPosition(found->first);
|
|
||||||
cmode = !cmode;
|
cmode = !cmode;
|
||||||
found->second->enableCollisionMode(cmode);
|
found->second->enableCollisionMode(cmode);
|
||||||
// NB: Collision body isn't disabled for vanilla TCL compatibility
|
// NB: Collision body isn't disabled for vanilla TCL compatibility
|
||||||
|
|
Loading…
Reference in a new issue