mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-16 16:10:58 +00:00
Fix actors colliding with noclipping player
This commit is contained in:
parent
5caf53b6a3
commit
498a3d450b
@ -1338,6 +1338,7 @@ namespace MWPhysics
|
|||||||
bool cmode = found->second->getCollisionMode();
|
bool cmode = found->second->getCollisionMode();
|
||||||
cmode = !cmode;
|
cmode = !cmode;
|
||||||
found->second->enableCollisionMode(cmode);
|
found->second->enableCollisionMode(cmode);
|
||||||
|
found->second->enableCollisionBody(cmode);
|
||||||
return cmode;
|
return cmode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user