1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-04 17:49:40 +00:00

Remove redundant call to resetPosition(). adjustPosition() takes care of

it,
This commit is contained in:
fredzio 2020-12-18 21:16:48 +01:00
parent a1065c8376
commit 24a8b8c66a

View file

@ -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