From 0cdb1c78cdbfce4d426441c21ef7066f1cfecf6f Mon Sep 17 00:00:00 2001 From: yexo Date: Fri, 21 Jan 2011 23:10:02 +0000 Subject: (svn r21885) -Fix [FS#4422]: NewGRF string codes 0x80 and 0x81 were broken since the typechecking of string parameters --- src/table/control_codes.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/table/control_codes.h') diff --git a/src/table/control_codes.h b/src/table/control_codes.h index ba3d041af..ccebcc864 100644 --- a/src/table/control_codes.h +++ b/src/table/control_codes.h @@ -134,6 +134,8 @@ enum StringControlCode { SCC_NEWGRF_ROTATE_TOP_4_WORDS, ///< Rotate the top 4 words of the stack (W4 W1 W2 W3) SCC_NEWGRF_LAST = SCC_NEWGRF_ROTATE_TOP_4_WORDS, + SCC_NEWGRF_STRINL, ///< Inline another string at the current position, StringID is encoded in the string + /* Special printable symbols. * These are mapped to the original glyphs */ SCC_LESSTHAN = SCC_SPRITE_START + 0x3C, -- cgit v1.2.3-54-g00ecf