diff options
author | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
commit | cd17687f01420952712a500107e0f93e7ab8d5f8 (patch) | |
tree | ce48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llhudeffecttrail.cpp | |
parent | Second Life viewer sources 1.19.0.5 (diff) | |
download | meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2 meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz |
Second Life viewer sources 1.19.1.0
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llhudeffecttrail.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/newview/llhudeffecttrail.cpp b/linden/indra/newview/llhudeffecttrail.cpp index 85b103f..ce5905d 100644 --- a/linden/indra/newview/llhudeffecttrail.cpp +++ b/linden/indra/newview/llhudeffecttrail.cpp | |||
@@ -84,7 +84,7 @@ void LLHUDEffectSpiral::markDead() | |||
84 | mPartSourcep->setDead(); | 84 | mPartSourcep->setDead(); |
85 | mPartSourcep = NULL; | 85 | mPartSourcep = NULL; |
86 | } | 86 | } |
87 | LLHUDObject::markDead(); | 87 | LLHUDEffect::markDead(); |
88 | } | 88 | } |
89 | 89 | ||
90 | void LLHUDEffectSpiral::packData(LLMessageSystem *mesgsys) | 90 | void LLHUDEffectSpiral::packData(LLMessageSystem *mesgsys) |
@@ -250,7 +250,7 @@ void LLHUDEffectSpiral::triggerLocal() | |||
250 | psb->setColor(color); | 250 | psb->setColor(color); |
251 | if (mTargetObject.isNull()) | 251 | if (mTargetObject.isNull()) |
252 | { | 252 | { |
253 | psb->mLKGTargetPosGlobal = mPositionGlobal; | 253 | psb->mLKGTargetPosGlobal = mPositionGlobal; |
254 | } | 254 | } |
255 | } | 255 | } |
256 | else | 256 | else |
@@ -277,10 +277,10 @@ void LLHUDEffectSpiral::render() | |||
277 | { | 277 | { |
278 | F32 time = mTimer.getElapsedTimeF32(); | 278 | F32 time = mTimer.getElapsedTimeF32(); |
279 | 279 | ||
280 | if (!mSourceObject.isNull() && mSourceObject->isDead() || | 280 | if ((!mSourceObject.isNull() && mSourceObject->isDead()) || |
281 | !mTargetObject.isNull() && mTargetObject->isDead() || | 281 | (!mTargetObject.isNull() && mTargetObject->isDead()) || |
282 | mKillTime < time || | 282 | mKillTime < time || |
283 | !gSavedSettings.getBOOL("ShowSelectionBeam")) | 283 | (!mPartSourcep.isNull() && !gSavedSettings.getBOOL("ShowSelectionBeam")) ) |
284 | { | 284 | { |
285 | markDead(); | 285 | markDead(); |
286 | return; | 286 | return; |