summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index fbd1daf0f..90019a495 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -113,13 +113,15 @@ char *GetStringWithArgs(char *buffr, uint string, int64 *argv, const char *last)
switch (tab) {
case 4:
- if (index >= 0xC0)
+ if (index >= 0xC0) {
return GetSpecialTownNameString(buffr, index - 0xC0, GetInt32(&argv), last);
+ }
break;
case 14:
- if (index >= 0xE4)
+ if (index >= 0xE4) {
return GetSpecialNameString(buffr, index - 0xE4, argv, last);
+ }
break;
case 15: