diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterbuycurrency.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/linden/indra/newview/llfloaterbuycurrency.cpp b/linden/indra/newview/llfloaterbuycurrency.cpp index cbd41f4..1cbf314 100644 --- a/linden/indra/newview/llfloaterbuycurrency.cpp +++ b/linden/indra/newview/llfloaterbuycurrency.cpp | |||
@@ -358,11 +358,6 @@ void LLFloaterBuyCurrencyUI::onClickErrorWeb(void* data) | |||
358 | // static | 358 | // static |
359 | void LLFloaterBuyCurrency::buyCurrency() | 359 | void LLFloaterBuyCurrency::buyCurrency() |
360 | { | 360 | { |
361 | if (gHideLinks) | ||
362 | { | ||
363 | return; | ||
364 | } | ||
365 | |||
366 | LLFloaterBuyCurrencyUI* ui = LLFloaterBuyCurrencyUI::soleInstance(true); | 361 | LLFloaterBuyCurrencyUI* ui = LLFloaterBuyCurrencyUI::soleInstance(true); |
367 | ui->noTarget(); | 362 | ui->noTarget(); |
368 | ui->updateUI(); | 363 | ui->updateUI(); |
@@ -371,15 +366,6 @@ void LLFloaterBuyCurrency::buyCurrency() | |||
371 | 366 | ||
372 | void LLFloaterBuyCurrency::buyCurrency(const std::string& name, S32 price) | 367 | void LLFloaterBuyCurrency::buyCurrency(const std::string& name, S32 price) |
373 | { | 368 | { |
374 | if (gHideLinks) | ||
375 | { | ||
376 | LLStringUtil::format_map_t args; | ||
377 | args["[NAME]"] = name; | ||
378 | args["[PRICE]"] = llformat("%d", price); | ||
379 | gViewerWindow->alertXml("NotEnoughCurrency", args); | ||
380 | return; | ||
381 | } | ||
382 | |||
383 | LLFloaterBuyCurrencyUI* ui = LLFloaterBuyCurrencyUI::soleInstance(true); | 369 | LLFloaterBuyCurrencyUI* ui = LLFloaterBuyCurrencyUI::soleInstance(true); |
384 | ui->target(name, price); | 370 | ui->target(name, price); |
385 | ui->updateUI(); | 371 | ui->updateUI(); |