mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Creature collision fix
This commit is contained in:
parent
82316105de
commit
e8ec4387d6
@ -173,7 +173,7 @@ namespace MWClass
|
||||
{
|
||||
if(!model.empty())
|
||||
{
|
||||
//physics.addActor(ptr, model);
|
||||
physics.addActor(ptr, model);
|
||||
if (getCreatureStats(ptr).isDead())
|
||||
MWBase::Environment::get().getWorld()->enableActorCollision(ptr, false);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user