summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorSeraph Linden <none@none>2011-04-03 17:27:11 -0400
committerSeraph Linden <none@none>2011-04-03 17:27:11 -0400
commit9c3b0ddeaf39bfbfe1bdfbbb614c8abe0b7c03a9 (patch)
tree87e3cdc755a371413cbe12065ec7b630e62461eb /indra/newview
parentf433ad353131cc1df581be11a9ff6184767a0ed6 (diff)
Fix for compile error.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llphysicsmotion.cpp3
1 files changed, 1 insertions, 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,