mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-19 08:41:35 +00:00
fix: NPCs were not added to physics system
This commit is contained in:
parent
9946bb36f7
commit
0866e4d4fe
2 changed files with 2 additions and 4 deletions
|
@ -218,7 +218,6 @@ void ExteriorCellRender::insertObjectPhysics()
|
||||||
|
|
||||||
void ExteriorCellRender::insertActorPhysics()
|
void ExteriorCellRender::insertActorPhysics()
|
||||||
{
|
{
|
||||||
if (!mInsertMesh.empty())
|
|
||||||
mScene.addActor (mInsert->getName(), mInsertMesh, mInsert->getPosition());
|
mScene.addActor (mInsert->getName(), mInsertMesh, mInsert->getPosition());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -201,7 +201,6 @@ void InteriorCellRender::insertObjectPhysics()
|
||||||
|
|
||||||
void InteriorCellRender::insertActorPhysics()
|
void InteriorCellRender::insertActorPhysics()
|
||||||
{
|
{
|
||||||
if (!mInsertMesh.empty())
|
|
||||||
scene.addActor (insert->getName(), mInsertMesh, insert->getPosition());
|
scene.addActor (insert->getName(), mInsertMesh, insert->getPosition());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue