From aca306abdee1921d5536fc1e10aea110f599d471 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Feb 2017 01:26:24 +0300 Subject: Use npc currency in buy dialog. --- src/resources/db/unitsdb.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/resources/db/unitsdb.h') diff --git a/src/resources/db/unitsdb.h b/src/resources/db/unitsdb.h index 7a913cc16..689e7a6ad 100644 --- a/src/resources/db/unitsdb.h +++ b/src/resources/db/unitsdb.h @@ -47,6 +47,12 @@ class UnitsDb final */ static std::string formatCurrency(const int value) A_WARN_UNUSED; + /** + * Formats the given number in the correct currency format. + */ + static std::string formatCurrency(std::string name, + const int value) A_WARN_UNUSED; + /** * Formats the given number in the correct weight/mass format. */ -- cgit v1.2.3-70-g09d2