mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04: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