summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-21 17:38:59 +0000
committerrubidium <rubidium@openttd.org>2007-06-21 17:38:59 +0000
commitfb7964e90270d4471774a4625e5ef03dd7a6eae2 (patch)
treecc38e8234cb28c4b83d81e1bd06b92ec67b2b6b7 /src/strings.cpp
parente432c7459ea0ea009518d3f3038d08ec97bbf8df (diff)
downloadopenttd-fb7964e90270d4471774a4625e5ef03dd7a6eae2.tar.xz
(svn r10261) -Cleanup: we do not need CURRENCY64 and CURRCOMPACT64 anymore, because everything is already 64 bits by default.
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 62334da1d..37a4377c9 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -611,12 +611,6 @@ static char* FormatString(char* buff, const char* str, const int64* argv, uint c
}
} break;
- case SCC_CURRENCY_COMPACT_64: { /* {CURRCOMPACT64} */
- /* 64 bit compact currency-unit */
- buff = FormatGenericCurrency(buff, _currency, GetInt64(&argv), true, last);
- break;
- }
-
case SCC_STRING1: { /* {STRING1} */
/* String that consumes ONE argument */
uint str = modifier + GetInt32(&argv);
@@ -867,11 +861,6 @@ static char* FormatString(char* buff, const char* str, const int64* argv, uint c
break;
}
- case SCC_CURRENCY_64: { // {CURRENCY64}
- buff = FormatGenericCurrency(buff, _currency, GetInt64(&argv), false, last);
- break;
- }
-
case SCC_SETCASE: { // {SETCASE}
/* This is a pseudo command, it's outputted when someone does {STRING.ack}
* The modifier is added to all subsequent GetStringWithArgs that accept the modifier. */