(svn r11473) -Codechange: Replace two more instances of widget/smalltype numbers by enum(-a) values

This commit is contained in:
belugas 2007-11-19 01:16:53 +00:00
parent 51bb4a9dc8
commit fb0674ee2b
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}