From 94facf002927f8d54c144a6bcde9803483009551 Mon Sep 17 00:00:00 2001 From: Xuchen Han Date: Mon, 7 Oct 2019 17:24:22 -0700 Subject: [PATCH] typo fix --- examples/SharedMemory/PhysicsServerCommandProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp index e5dc10bb4..e87251ede 100644 --- a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp +++ b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp @@ -8145,7 +8145,7 @@ bool PhysicsServerCommandProcessor::processLoadSoftBodyCommand(const struct Shar psb->setCollisionFlags(0); psb->setTotalMass(mass); bool use_self_collision = false; - if (clientCmd.m_updateFlags & LOAD_SOFT_BODY_USE_SELF_COLLISION) + if (clientCmd.m_updateFlags & LOAD_SOFT_BODY_SET_SELF_COLLISION) { use_self_collision = loadSoftBodyArgs.m_useSelfCollision; }