diff options
Diffstat (limited to 'linden/indra/newview/llviewerparcelmedia.cpp')
-rw-r--r-- | linden/indra/newview/llviewerparcelmedia.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/linden/indra/newview/llviewerparcelmedia.cpp b/linden/indra/newview/llviewerparcelmedia.cpp index b98f418..f27a140 100644 --- a/linden/indra/newview/llviewerparcelmedia.cpp +++ b/linden/indra/newview/llviewerparcelmedia.cpp | |||
@@ -388,13 +388,9 @@ bool callback_play_media(const LLSD& notification, const LLSD& response, LLParce | |||
388 | S32 option = LLNotification::getSelectedOption(notification, response); | 388 | S32 option = LLNotification::getSelectedOption(notification, response); |
389 | if (option == 0) | 389 | if (option == 0) |
390 | { | 390 | { |
391 | gSavedSettings.setBOOL("AudioStreamingVideo", TRUE); | 391 | LLParcel* parcel = (LLParcel*)data; |
392 | LLViewerParcelMedia::play(parcel); | 392 | LLViewerParcelMedia::play(parcel); |
393 | } | 393 | } |
394 | else | ||
395 | { | ||
396 | gSavedSettings.setBOOL("AudioStreamingVideo", FALSE); | ||
397 | } | ||
398 | gSavedSettings.setWarning("FirstStreamingVideo", FALSE); | 394 | gSavedSettings.setWarning("FirstStreamingVideo", FALSE); |
399 | return false; | 395 | return false; |
400 | } | 396 | } |