Sfoglia il codice sorgente

copy/paste fail

legacy
Benjamin ‘Touky’ Huet touky 12 anni fa
parent
commit
652ba7d2a5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      test/Physics/Src/EasyConstraint.cpp

+ 1
- 1
test/Physics/Src/EasyConstraint.cpp Vedi File

@@ -27,7 +27,7 @@ void EasyConstraint::AddToSimulation(class Simulation* current_simulation)
void EasyConstraint::RemoveFromSimulation(class Simulation* current_simulation)
{
btDiscreteDynamicsWorld* dynamics_world = current_simulation->GetWorld();
if (dynamics_world, m_typed_constraint)
if (dynamics_world && m_typed_constraint)
dynamics_world->removeConstraint(m_typed_constraint);
}



Caricamento…
Annulla
Salva