mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04:00
fix: NPCs were not added to physics system
This commit is contained in:
parent
9946bb36f7
commit
0866e4d4fe
@ -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…
x
Reference in New Issue
Block a user