Mercurial > hg > openttd
changeset 10126:c5ceca8952d5 draft
(svn r14310) -Fix: don't show palette information in the newgrf lists of the network lobby.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sat, 13 Sep 2008 12:40:31 +0000 |
parents | 1dc0ec0bdbf5 |
children | 3c3b3d21adf4 |
files | src/newgrf_gui.cpp |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -98,12 +98,12 @@ SetDParam(0, STR_01A9_NONE); } y += DrawStringMultiLine(x, y, STR_NEWGRF_PARAMETER, w, bottom - y); + + /* Draw the palette of the NewGRF */ + SetDParamStr(0, c->windows_paletted ? "Windows" : "DOS"); + y += DrawStringMultiLine(x, y, STR_NEWGRF_PALETTE, w, bottom - y); } - /* Draw the palette of the NewGRF */ - SetDParamStr(0, c->windows_paletted ? "Windows" : "DOS"); - y += DrawStringMultiLine(x, y, STR_NEWGRF_PALETTE, w, bottom - y); - /* Show flags */ if (c->status == GCS_NOT_FOUND) y += DrawStringMultiLine(x, y, STR_NEWGRF_NOT_FOUND, w, bottom - y); if (c->status == GCS_DISABLED) y += DrawStringMultiLine(x, y, STR_NEWGRF_DISABLED, w, bottom - y);