Add: NewGRF string codes to access PUSH/POP_COLOUR. (#7527)

This commit is contained in:
2019-04-20 02:21:25 +01:00
committed by GitHub
parent 66a8db9dc5
commit d2b6176cdf

View File

@@ -528,6 +528,9 @@ char *TranslateTTDPatchCodes(uint32 grfid, uint8 language_id, bool allow_newline
d += Utf8Encode(d, SCC_NEWGRF_PRINT_DWORD_DATE_LONG + code - 0x16);
break;
case 0x1F: d += Utf8Encode(d, SCC_PUSH_COLOUR); break;
case 0x20: d += Utf8Encode(d, SCC_POP_COLOUR); break;
default:
grfmsg(1, "missing handler for extended format code");
break;