From 9c3b0ddeaf39bfbfe1bdfbbb614c8abe0b7c03a9 Mon Sep 17 00:00:00 2001 From: Seraph Linden Date: Sun, 3 Apr 2011 17:27:11 -0400 Subject: Fix for compile error. --- indra/newview/llphysicsmotion.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/indra/newview/llphysicsmotion.cpp b/indra/newview/llphysicsmotion.cpp index 57ba76cf6d..15797e5ab7 100644 --- a/indra/newview/llphysicsmotion.cpp +++ b/indra/newview/llphysicsmotion.cpp @@ -627,8 +627,7 @@ BOOL LLPhysicsMotion::onUpdate(F32 time) // If this is one of our "hidden" driver params, then make sure it's // the default value. if ((driver_param->getGroup() != VISUAL_PARAM_GROUP_TWEAKABLE) && - (driver_param->getGroup() != VISUAL_PARAM_GROUP_TWEAKABLE_NO_TRANSMIT) && - (driver_param->getVisualParamWeight() != 0)) + (driver_param->getGroup() != VISUAL_PARAM_GROUP_TWEAKABLE_NO_TRANSMIT)) { mCharacter->setVisualParamWeight(driver_param, 0, -- cgit v1.2.3