mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-23 06:40:06 +00:00
Fix actors colliding with noclipping player
This commit is contained in:
parent
5caf53b6a3
commit
498a3d450b
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue