diff options
author | alberth <alberth@openttd.org> | 2009-09-02 20:44:36 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-09-02 20:44:36 +0000 |
commit | a536a1545934a69f886824b17367233f2f9a14bd (patch) | |
tree | 6b35e97aaac6e9e697849fc49ea7c4315e2a346f | |
parent | a3ddb8a235058618502f98a60bb35c45a958fa9d (diff) | |
download | openttd-a536a1545934a69f886824b17367233f2f9a14bd.tar.xz |
(svn r17392) -Codechange: Use 'default' for reacting on click.
-rw-r--r-- | src/news_gui.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp index 41870a82f..52bd55aa9 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -366,7 +366,11 @@ struct NewsWindow : Window { _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); |