Changeset - r12890:602f75953182
[Not reviewed]
master
0 1 0
alberth - 15 years ago 2009-09-02 20:44:36
alberth@openttd.org
(svn r17392) -Codechange: Use 'default' for reacting on click.
1 file changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/news_gui.cpp
Show inline comments
 
@@ -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);
0 comments (0 inline, 0 general)