Mercurial > hg > openttd
changeset 15361:f51bab01688a draft
(svn r20004) -Fix: [NewGRF] stringcodes 82, 83 and 84 weren't properly converted to openttd codes so they didn't work
author | yexo <yexo@openttd.org> |
---|---|
date | Mon, 21 Jun 2010 16:49:54 +0000 |
parents | 22ec7da21bf0 |
children | 834b4f9842c2 |
files | src/newgrf_text.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/newgrf_text.cpp +++ b/src/newgrf_text.cpp @@ -245,7 +245,7 @@ } case 0x82: case 0x83: - case 0x84: d += Utf8Encode(d, SCC_NEWGRF_PRINT_WORD_SPEED + c - 0x82); break; + case 0x84: d += Utf8Encode(d, SCC_NEWGRF_PRINT_DATE + c - 0x82); break; case 0x85: d += Utf8Encode(d, SCC_NEWGRF_DISCARD_WORD); break; case 0x86: d += Utf8Encode(d, SCC_NEWGRF_ROTATE_TOP_4_WORDS); break; case 0x87: d += Utf8Encode(d, SCC_NEWGRF_PRINT_WORD_LITRES); break;