diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-09-22 11:17:10 +0300 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-09-22 11:17:10 +0300 |
commit | ff17358e1f4629c1ef172358354bf7477155303b (patch) | |
tree | 6a086fcc2364a1b7056e14f8e0f1188d08aba05c | |
parent | ceeff4fd2b72b095fa96497f4edfb49eb5c6965b (diff) |
MAINT-4434 FIXED Mainland land deeding amounts bugged
-rwxr-xr-x | indra/newview/llpanelgrouplandmoney.cpp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/indra/newview/llpanelgrouplandmoney.cpp b/indra/newview/llpanelgrouplandmoney.cpp index e7002395f8..2f7c44f899 100755 --- a/indra/newview/llpanelgrouplandmoney.cpp +++ b/indra/newview/llpanelgrouplandmoney.cpp @@ -428,10 +428,18 @@ void LLPanelGroupLandMoney::impl::processGroupLand(LLMessageSystem* msg) S32 committed = 0; S32 billable_area = 0; - for(S32 i = first_block; i < count; ++i) + + if(count == 1) + { + msg->getS32("QueryData", "BillableArea", committed, 0); + } + else { - msg->getS32("QueryData", "BillableArea", billable_area, i); - committed+=billable_area; + for(S32 i = first_block; i < count; ++i) + { + msg->getS32("QueryData", "BillableArea", billable_area, i); + committed+=billable_area; + } } S32 total_contribution; |