src/town_gui.cpp
changeset 8994 fb5e761cf141
parent 8969 6d1c74e0e2cd
child 9094 48004fcef409
equal deleted inserted replaced
8993:35c33a4819de 8994:fb5e761cf141
   394 
   394 
   395 	w = AllocateWindowDescFront(&_town_view_desc, town);
   395 	w = AllocateWindowDescFront(&_town_view_desc, town);
   396 
   396 
   397 	if (w != NULL) {
   397 	if (w != NULL) {
   398 		w->flags4 |= WF_DISABLE_VP_SCROLL;
   398 		w->flags4 |= WF_DISABLE_VP_SCROLL;
   399 		AssignWindowViewport(w, 3, 17, 0xFE, 0x56, GetTown(town)->xy, ZOOM_LVL_TOWN);
   399 		InitializeWindowViewport(w, 3, 17, 254, 86, GetTown(town)->xy, ZOOM_LVL_TOWN);
   400 	}
   400 	}
   401 }
   401 }
   402 
   402 
   403 enum TownDirectoryWidget {
   403 enum TownDirectoryWidget {
   404 	TDW_SORTNAME = 3,
   404 	TDW_SORTNAME = 3,