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