diff options
author | Jacek Antonelli | 2008-08-15 23:44:56 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:56 -0500 |
commit | c07901e29ed545bbb02e3bddf148fe1104b94e9f (patch) | |
tree | f1ada64ce834acd7d92a425efb96c4b86bcf16b1 /linden/indra/newview/llstatusbar.cpp | |
parent | Second Life viewer sources 1.15.0.2 (diff) | |
download | meta-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.cpp | 5 |
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 | |||
647 | BOOL can_afford_transaction(S32 cost) | ||
648 | { | ||
649 | return((cost <= 0)||((gStatusBar) && (gStatusBar->getBalance() >=cost))); | ||
650 | } | ||