diff options
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r-- | indra/newview/llviewermenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 64560efd67..9ac566b02b 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -6096,7 +6096,7 @@ void complete_give_money(S32 option, void* user_data) LLObjectSelectionHandle handle(*(LLObjectSelectionHandle*)user_data); delete (LLObjectSelectionHandle*)user_data; - LLViewerObject *objectp = handle->getFirstRootObject(); + LLViewerObject* objectp = handle->getPrimaryObject(); // Show avatar's name if paying attachment if (objectp && objectp->isAttachment()) |