mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04: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