summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-05-04 07:08:35 +0000
committerpeter1138 <peter1138@openttd.org>2007-05-04 07:08:35 +0000
commitcef3e9bde1b0980873c19cc8faed49e9606848d7 (patch)
treea2a82208b80e1b90a499064b50355167ae2d4290
parent9809facd13fa49e015a7b7e4bfa5ba2df8e3d444 (diff)
downloadopenttd-cef3e9bde1b0980873c19cc8faed49e9606848d7.tar.xz
(svn r9775) -Fix: Remove arbitrary limit on length of NewGRF strings.
-rw-r--r--src/newgrf.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 381a35bae..d7d4cbc57 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -2734,8 +2734,6 @@ static void FeatureNewName(byte *buf, int len)
if (name_length == 1) {
grfmsg(7, "FeatureNewName: Can't add empty name");
- } else if (name_length > 127) {
- grfmsg(7, "FeatureNewName: Too long a name (%d)", name_length);
} else {
grfmsg(8, "FeatureNewName: %d <- %s", id, name);