1
0
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:
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