1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

Don't apply race height to NPC collision shape (Fixes #1487)

This commit is contained in:
scrawl 2014-09-14 07:04:02 +02:00
parent 4426b03fa4
commit 4b27950879

View File

@ -719,7 +719,10 @@ namespace MWWorld
}
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()