Physics/PhysObject: Fixed compilation error
Former-commit-id: 75c2ea8ff79f985cbd0d88cc395f8ad061793153
This commit is contained in:
@@ -224,7 +224,7 @@ void NzPhysObject::SetAngularVelocity(const NzVector3f& angularVelocity)
|
|||||||
|
|
||||||
void NzPhysObject::SetGeom(NzPhysGeomRef geom)
|
void NzPhysObject::SetGeom(NzPhysGeomRef geom)
|
||||||
{
|
{
|
||||||
if (m_geom != geom)
|
if (m_geom.Get() != geom)
|
||||||
{
|
{
|
||||||
if (geom)
|
if (geom)
|
||||||
m_geom = geom;
|
m_geom = geom;
|
||||||
|
|||||||
Reference in New Issue
Block a user