@@ -74,9 +74,9 @@ void CBuildingSA::AllocateMatrix()
7474{
7575 auto * newMatrix = g_matrixPool.AllocateItem ();
7676 std::memset (newMatrix, 0 , sizeof (CMatrixLinkSAInterface));
77- newMatrix->SetTranslateOnly (m_pInterface->Placeable . m_transform .m_translate );
77+ newMatrix->SetTranslateOnly (m_pInterface->m_transform .m_translate );
7878
79- m_pInterface->Placeable . matrix = reinterpret_cast <CMatrix_Padded*>(newMatrix);
79+ m_pInterface->matrix = reinterpret_cast <CMatrix_Padded*>(newMatrix);
8080}
8181
8282void CBuildingSA::ReallocateMatrix ()
@@ -85,26 +85,26 @@ void CBuildingSA::ReallocateMatrix()
8585 return ;
8686
8787 auto * newMatrix = g_matrixPool.AllocateItem ();
88- std::memcpy (newMatrix, m_pInterface->Placeable . matrix , sizeof (CMatrixLinkSAInterface));
88+ std::memcpy (newMatrix, m_pInterface->matrix , sizeof (CMatrixLinkSAInterface));
8989 newMatrix->m_pOwner = nullptr ;
9090 newMatrix->m_pPrev = nullptr ;
9191 newMatrix->m_pNext = nullptr ;
9292
9393 m_pInterface->RemoveMatrix ();
94- m_pInterface->Placeable . matrix = reinterpret_cast <CMatrix_Padded*>(newMatrix);
94+ m_pInterface->matrix = reinterpret_cast <CMatrix_Padded*>(newMatrix);
9595}
9696
9797void CBuildingSA::RemoveAllocatedMatrix ()
9898{
9999 if (!m_pInterface->HasMatrix ())
100100 return ;
101101
102- CMatrixLinkSAInterface* pMatrix = reinterpret_cast <CMatrixLinkSAInterface*>(m_pInterface->Placeable . matrix );
102+ CMatrixLinkSAInterface* pMatrix = reinterpret_cast <CMatrixLinkSAInterface*>(m_pInterface->matrix );
103103
104104 if (pMatrix->m_pOwner || (pMatrix->m_pNext && pMatrix->m_pPrev ))
105105 return ;
106106
107- g_matrixPool.RemoveItem (reinterpret_cast <CMatrixLinkSAInterface*>(m_pInterface->Placeable . matrix ));
107+ g_matrixPool.RemoveItem (reinterpret_cast <CMatrixLinkSAInterface*>(m_pInterface->matrix ));
108108 g_matrixPool.SetCapacity (0 );
109- m_pInterface->Placeable . matrix = nullptr ;
109+ m_pInterface->matrix = nullptr ;
110110}
0 commit comments