diff options
author | peter1138 <peter1138@openttd.org> | 2007-05-04 07:08:35 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-05-04 07:08:35 +0000 |
commit | 449e76c05ad6c8502105fe80fd2390cc6944750c (patch) | |
tree | a2a82208b80e1b90a499064b50355167ae2d4290 /src | |
parent | 574013a92068f45de852ee71ac6829dc88332700 (diff) | |
download | openttd-449e76c05ad6c8502105fe80fd2390cc6944750c.tar.xz |
(svn r9775) -Fix: Remove arbitrary limit on length of NewGRF strings.
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf.cpp | 2 |
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); |