Skip to content

Commit 4145d6c

Browse files
committed
CDestroyablePhysicsObject::OnChangeVisual: remove redundant check
1 parent eb35269 commit 4145d6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrGame/DestroyablePhysicsObject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ CDestroyablePhysicsObject::~CDestroyablePhysicsObject()
3030
void CDestroyablePhysicsObject::OnChangeVisual()
3131
{
3232
if (m_pPhysicsShell){
33-
if(m_pPhysicsShell)m_pPhysicsShell->Deactivate();
33+
m_pPhysicsShell->Deactivate();
3434
xr_delete (m_pPhysicsShell);
3535
VERIFY (0==Visual());
3636
}

0 commit comments

Comments
 (0)