aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-12-09 22:25:37 -0600
committerJacek Antonelli2008-12-09 22:25:41 -0600
commit22b861982f2efd5d16097a012627e73b9fb85834 (patch)
tree6152a84b92c682e271bdd52d46cd1728454f679a /linden/indra/newview/llviewermessage.cpp
parentSecond Life viewer sources 1.22.1-RC (diff)
downloadmeta-impy-22b861982f2efd5d16097a012627e73b9fb85834.zip
meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.tar.gz
meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.tar.bz2
meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.tar.xz
Second Life viewer sources 1.22.2-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llviewermessage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp
index 30e5e26..63bc9c7 100644
--- a/linden/indra/newview/llviewermessage.cpp
+++ b/linden/indra/newview/llviewermessage.cpp
@@ -203,7 +203,7 @@ struct LLFriendshipOffer
203void give_money(const LLUUID& uuid, LLViewerRegion* region, S32 amount, BOOL is_group, 203void give_money(const LLUUID& uuid, LLViewerRegion* region, S32 amount, BOOL is_group,
204 S32 trx_type, const std::string& desc) 204 S32 trx_type, const std::string& desc)
205{ 205{
206 if(0 == amount) return; 206 if(0 == amount || !region) return;
207 amount = abs(amount); 207 amount = abs(amount);
208 LL_INFOS("Messaging") << "give_money(" << uuid << "," << amount << ")"<< LL_ENDL; 208 LL_INFOS("Messaging") << "give_money(" << uuid << "," << amount << ")"<< LL_ENDL;
209 if(can_afford_transaction(amount)) 209 if(can_afford_transaction(amount))