Changeset - r7920:6f4a9810eb93
[Not reviewed]
master
0 1 0
belugas - 17 years ago 2007-11-19 01:16:53
belugas@openttd.org
(svn r11473) -Codechange: Replace two more instances of widget/smalltype numbers by enum(-a) values
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/smallmap_gui.cpp
Show inline comments
 
@@ -941,8 +941,8 @@ void ShowSmallMap()
 
	w = AllocateWindowDescFront(&_smallmap_desc, 0);
 
	if (w == NULL) return;
 

	
 
	LowerWindowWidget(w, _smallmap_type + 5);
 
	SetWindowWidgetLoweredState(w, 12, _smallmap_show_towns);
 
	LowerWindowWidget(w, _smallmap_type + SMT_OWNER);
 
	SetWindowWidgetLoweredState(w, SM_WIDGET_TOGGLETOWNNAME, _smallmap_show_towns);
 

	
 
	SmallMapCenterOnCurrentPos(w);
 
}
0 comments (0 inline, 0 general)