forked from mirror/openmw-tes3mp
Don't apply race height to NPC collision shape (Fixes #1487)
This commit is contained in:
parent
4426b03fa4
commit
4b27950879
1 changed files with 4 additions and 1 deletions
|
@ -719,7 +719,10 @@ namespace MWWorld
|
||||||
}
|
}
|
||||||
|
|
||||||
if (OEngine::Physic::PhysicActor* act = mEngine->getCharacter(handle))
|
if (OEngine::Physic::PhysicActor* act = mEngine->getCharacter(handle))
|
||||||
act->setScale(node->getScale().x);
|
{
|
||||||
|
// NOTE: Ignoring Npc::adjustScale (race height) on purpose. This is a bug in MW and must be replicated for compatibility reasons
|
||||||
|
act->setScale(ptr.getCellRef().getScale());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PhysicsSystem::toggleCollisionMode()
|
bool PhysicsSystem::toggleCollisionMode()
|
||||||
|
|
Loading…
Reference in a new issue