From cef3e9bde1b0980873c19cc8faed49e9606848d7 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Fri, 4 May 2007 07:08:35 +0000 Subject: (svn r9775) -Fix: Remove arbitrary limit on length of NewGRF strings. --- src/newgrf.cpp | 2 -- 1 file changed, 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); -- cgit v1.2.3-70-g09d2