Mercurial > hg > openttd
changeset 12900:f4f237bdc0da draft
(svn r17392) -Codechange: Use 'default' for reacting on click.
author | alberth <alberth@openttd.org> |
---|---|
date | Wed, 02 Sep 2009 20:44:36 +0000 |
parents | 85086de37f39 |
children | e8a203d9841c |
files | src/news_gui.cpp |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -366,7 +366,11 @@ _forced_news = NULL; break; - case NTW_HEADLINE: + case NTW_CAPTION: + case NTW_VIEWPORT: + break; // Ignore clicks + + default: if (this->ni->reftype1 == NR_VEHICLE) { const Vehicle *v = Vehicle::Get(this->ni->ref1); ScrollMainWindowTo(v->x_pos, v->y_pos, v->z_pos);