aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerparcelmediaautoplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewerparcelmediaautoplay.cpp')
-rw-r--r--linden/indra/newview/llviewerparcelmediaautoplay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewerparcelmediaautoplay.cpp b/linden/indra/newview/llviewerparcelmediaautoplay.cpp
index dbb9c32..ccd6b14 100644
--- a/linden/indra/newview/llviewerparcelmediaautoplay.cpp
+++ b/linden/indra/newview/llviewerparcelmediaautoplay.cpp
@@ -109,7 +109,7 @@ BOOL LLViewerParcelMediaAutoPlay::tick()
109 if ((!mPlayed) && // if we've never played 109 if ((!mPlayed) && // if we've never played
110 (mTimeInParcel > AUTOPLAY_TIME) && // and if we've been here for so many seconds 110 (mTimeInParcel > AUTOPLAY_TIME) && // and if we've been here for so many seconds
111 (this_media_url.size() != 0) && // and if the parcel has media 111 (this_media_url.size() != 0) && // and if the parcel has media
112 (!LLViewerMedia::isMediaPlaying())) // and if the media is not already playing 112 (LLViewerParcelMedia::sMediaImpl.isNull())) // and if the media is not already playing
113 { 113 {
114 if (this_media_texture_id.notNull()) // and if the media texture is good 114 if (this_media_texture_id.notNull()) // and if the media texture is good
115 { 115 {