diff options
Diffstat (limited to 'indra/newview/llviewerparcelmediaautoplay.cpp')
-rw-r--r-- | indra/newview/llviewerparcelmediaautoplay.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llviewerparcelmediaautoplay.cpp b/indra/newview/llviewerparcelmediaautoplay.cpp index e373d7d986..80c22153d4 100644 --- a/indra/newview/llviewerparcelmediaautoplay.cpp +++ b/indra/newview/llviewerparcelmediaautoplay.cpp @@ -84,10 +84,7 @@ BOOL LLViewerParcelMediaAutoPlay::tick() LLUUID this_media_texture_id; S32 this_parcel_id = 0; - if (gParcelMgr) - { - this_parcel = gParcelMgr->getAgentParcel(); - } + this_parcel = LLViewerParcelMgr::getInstance()->getAgentParcel(); if (this_parcel) { |