src/town_gui.cpp
changeset 6624 880e29b1f25e
parent 6422 6679df1c05ba
child 6990 136a08baf0ed
equal deleted inserted replaced
6623:e35eb9de954b 6624:880e29b1f25e
   347 		w = AllocateWindowDescFront(&_town_view_scen_desc, town);
   347 		w = AllocateWindowDescFront(&_town_view_scen_desc, town);
   348 	}
   348 	}
   349 
   349 
   350 	if (w != NULL) {
   350 	if (w != NULL) {
   351 		w->flags4 |= WF_DISABLE_VP_SCROLL;
   351 		w->flags4 |= WF_DISABLE_VP_SCROLL;
   352 		AssignWindowViewport(w, 3, 17, 0xFE, 0x56, GetTown(town)->xy, 1);
   352 		AssignWindowViewport(w, 3, 17, 0xFE, 0x56, GetTown(town)->xy, ZOOM_LVL_TOWN);
   353 	}
   353 	}
   354 }
   354 }
   355 
   355 
   356 static const Widget _town_directory_widgets[] = {
   356 static const Widget _town_directory_widgets[] = {
   357 {   WWT_CLOSEBOX,   RESIZE_NONE,    13,     0,    10,     0,    13, STR_00C5,               STR_018B_CLOSE_WINDOW},
   357 {   WWT_CLOSEBOX,   RESIZE_NONE,    13,     0,    10,     0,    13, STR_00C5,               STR_018B_CLOSE_WINDOW},