aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llstatusbar.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:56 -0500
committerJacek Antonelli2008-08-15 23:44:56 -0500
commitc07901e29ed545bbb02e3bddf148fe1104b94e9f (patch)
treef1ada64ce834acd7d92a425efb96c4b86bcf16b1 /linden/indra/newview/llstatusbar.cpp
parentSecond Life viewer sources 1.15.0.2 (diff)
downloadmeta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.zip
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.gz
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.bz2
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.xz
Second Life viewer sources 1.15.1.3
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llstatusbar.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/llstatusbar.cpp b/linden/indra/newview/llstatusbar.cpp
index 58ac8c2..784765b 100644
--- a/linden/indra/newview/llstatusbar.cpp
+++ b/linden/indra/newview/llstatusbar.cpp
@@ -643,3 +643,8 @@ void LLStatusBar::onClickBuyLand(void*)
643 gParcelMgr->selectParcelAt(gAgent.getPositionGlobal()); 643 gParcelMgr->selectParcelAt(gAgent.getPositionGlobal());
644 gParcelMgr->startBuyLand(); 644 gParcelMgr->startBuyLand();
645} 645}
646
647BOOL can_afford_transaction(S32 cost)
648{
649 return((cost <= 0)||((gStatusBar) && (gStatusBar->getBalance() >=cost)));
650}