mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 12:35:46 +00:00
Don't apply race height to NPC collision shape (Fixes #1487)
This commit is contained in:
parent
4426b03fa4
commit
4b27950879
@ -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…
x
Reference in New Issue
Block a user