summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r--src/town_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index 463435943..5b4c64185 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -1406,7 +1406,7 @@ static bool VerifyTownName(uint32 r, const TownNameParams *par)
/* We can't just compare the numbers since
* several numbers may map to a single name. */
SetDParam(0, t->index);
- GetString(buf2, STR_TOWN, lastof(buf2));
+ GetString(buf2, STR_TOWN_NAME, lastof(buf2));
if (strcmp(buf1, buf2) == 0) return false;
}