diff options
author | Jacek Antonelli | 2008-08-15 23:45:02 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:02 -0500 |
commit | d644fc64407dcd14ffcee6a0e9fbe28ee3a4e9bd (patch) | |
tree | 7ed0c2c27d717801238a2e6b5749cd5bf88c3059 /linden/indra/newview/llviewerparcelmgr.cpp | |
parent | Second Life viewer sources 1.17.3.0 (diff) | |
download | meta-impy-d644fc64407dcd14ffcee6a0e9fbe28ee3a4e9bd.zip meta-impy-d644fc64407dcd14ffcee6a0e9fbe28ee3a4e9bd.tar.gz meta-impy-d644fc64407dcd14ffcee6a0e9fbe28ee3a4e9bd.tar.bz2 meta-impy-d644fc64407dcd14ffcee6a0e9fbe28ee3a4e9bd.tar.xz |
Second Life viewer sources 1.18.0.6
Diffstat (limited to 'linden/indra/newview/llviewerparcelmgr.cpp')
-rw-r--r-- | linden/indra/newview/llviewerparcelmgr.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewerparcelmgr.cpp b/linden/indra/newview/llviewerparcelmgr.cpp index 437a768..ac56681 100644 --- a/linden/indra/newview/llviewerparcelmgr.cpp +++ b/linden/indra/newview/llviewerparcelmgr.cpp | |||
@@ -1058,7 +1058,9 @@ public: | |||
1058 | 1058 | ||
1059 | // for parcel buys | 1059 | // for parcel buys |
1060 | S32 mParcelID; | 1060 | S32 mParcelID; |
1061 | 1061 | S32 mPrice; | |
1062 | S32 mArea; | ||
1063 | |||
1062 | // for land claims | 1064 | // for land claims |
1063 | F32 mWest; | 1065 | F32 mWest; |
1064 | F32 mSouth; | 1066 | F32 mSouth; |
@@ -1116,6 +1118,8 @@ LLViewerParcelMgr::ParcelBuyInfo* LLViewerParcelMgr::setupParcelBuy( | |||
1116 | info->mIsClaim = is_claim; | 1118 | info->mIsClaim = is_claim; |
1117 | info->mRemoveContribution = remove_contribution; | 1119 | info->mRemoveContribution = remove_contribution; |
1118 | info->mHost = region->getHost(); | 1120 | info->mHost = region->getHost(); |
1121 | info->mPrice = mCurrentParcel->getSalePrice(); | ||
1122 | info->mArea = mCurrentParcel->getArea(); | ||
1119 | 1123 | ||
1120 | if (!is_claim) | 1124 | if (!is_claim) |
1121 | { | 1125 | { |
@@ -1161,6 +1165,12 @@ void LLViewerParcelMgr::sendParcelBuy(ParcelBuyInfo* info) | |||
1161 | msg->addF32("East", info->mEast); | 1165 | msg->addF32("East", info->mEast); |
1162 | msg->addF32("North", info->mNorth); | 1166 | msg->addF32("North", info->mNorth); |
1163 | } | 1167 | } |
1168 | else // ParcelBuy | ||
1169 | { | ||
1170 | msg->nextBlock("ParcelData"); | ||
1171 | msg->addS32("Price",info->mPrice); | ||
1172 | msg->addS32("Area",info->mArea); | ||
1173 | } | ||
1164 | msg->sendReliable(info->mHost); | 1174 | msg->sendReliable(info->mHost); |
1165 | } | 1175 | } |
1166 | 1176 | ||