diff options
author | Jacek Antonelli | 2008-12-01 17:39:58 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-12-01 17:40:06 -0600 |
commit | 7abecb48babe6a6f09bf6692ba55076546cfced9 (patch) | |
tree | 8d18a88513fb97adf32c10aae78f4be1984942db /linden/indra/llinventory/llparcel.cpp | |
parent | Second Life viewer sources 1.21.6 (diff) | |
download | meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.zip meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.gz meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.bz2 meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.xz |
Second Life viewer sources 1.22.0-RC
Diffstat (limited to 'linden/indra/llinventory/llparcel.cpp')
-rw-r--r-- | linden/indra/llinventory/llparcel.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/linden/indra/llinventory/llparcel.cpp b/linden/indra/llinventory/llparcel.cpp index 2b9c201..911e257 100644 --- a/linden/indra/llinventory/llparcel.cpp +++ b/linden/indra/llinventory/llparcel.cpp | |||
@@ -1398,7 +1398,7 @@ void LLParcel::unpackMessage(LLMessageSystem* msg) | |||
1398 | 1398 | ||
1399 | // New Media Data | 1399 | // New Media Data |
1400 | // Note: the message has been converted to TCP | 1400 | // Note: the message has been converted to TCP |
1401 | if(msg->getNumberOfBlocks("MediaData") > 0) | 1401 | if(msg->has("MediaData")) |
1402 | { | 1402 | { |
1403 | msg->getString("MediaData", "MediaDesc", buffer); | 1403 | msg->getString("MediaData", "MediaDesc", buffer); |
1404 | setMediaDesc(buffer); | 1404 | setMediaDesc(buffer); |
@@ -1761,7 +1761,11 @@ void LLParcel::startSale(const LLUUID& buyer_id, BOOL is_buyer_group) | |||
1761 | setCleanOtherTime(0); | 1761 | setCleanOtherTime(0); |
1762 | } | 1762 | } |
1763 | 1763 | ||
1764 | void LLParcel::expireSale(U32& type, U8& flags, LLUUID& from_id, LLUUID& to_id) | 1764 | void LLParcel::expireSale( |
1765 | U32& type, | ||
1766 | U8& flags, | ||
1767 | LLUUID& from_id, | ||
1768 | LLUUID& to_id) | ||
1765 | { | 1769 | { |
1766 | mSaleTimerExpires.setTimerExpirySec(0.0); | 1770 | mSaleTimerExpires.setTimerExpirySec(0.0); |
1767 | mSaleTimerExpires.stop(); | 1771 | mSaleTimerExpires.stop(); |
@@ -1777,8 +1781,10 @@ void LLParcel::expireSale(U32& type, U8& flags, LLUUID& from_id, LLUUID& to_id) | |||
1777 | to_id.setNull(); | 1781 | to_id.setNull(); |
1778 | } | 1782 | } |
1779 | 1783 | ||
1780 | void LLParcel::completeSale(U32& type, U8& flags, | 1784 | void LLParcel::completeSale( |
1781 | LLUUID& to_id) | 1785 | U32& type, |
1786 | U8& flags, | ||
1787 | LLUUID& to_id) | ||
1782 | { | 1788 | { |
1783 | mSaleTimerExpires.setTimerExpirySec(0.0); | 1789 | mSaleTimerExpires.setTimerExpirySec(0.0); |
1784 | mSaleTimerExpires.stop(); | 1790 | mSaleTimerExpires.stop(); |