diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -96,7 +96,7 @@ static void ShowNewGRFInfo(const GRFConf y = DrawStringMultiLine(x, right, y, bottom, STR_NEWGRF_SETTINGS_PARAMETER); /* Draw the palette of the NewGRF */ - SetDParamStr(0, c->windows_paletted ? "Windows" : "DOS"); + SetDParamStr(0, (c->palette & GRFP_USE_WINDOWS) ? "Windows" : "DOS"); y = DrawStringMultiLine(x, right, y, bottom, STR_NEWGRF_SETTINGS_PALETTE); } @@ -592,7 +592,7 @@ struct NewGRFWindow : public QueryString case SNGRFS_TOGGLE_PALETTE: if (this->active_sel != NULL || !this->editable) { - this->active_sel->windows_paletted ^= true; + this->active_sel->palette ^= GRFP_USE_MASK; this->SetDirty(); } break;