src/graph_gui.cpp
changeset 7931 b0a46cd92225
parent 7928 63e18de69e50
child 7932 6c3d71e8a129
equal deleted inserted replaced
7930:f12c2437a050 7931:b0a46cd92225
   258 			const Player *p;
   258 			const Player *p;
   259 
   259 
   260 			FOR_ALL_PLAYERS(p) {
   260 			FOR_ALL_PLAYERS(p) {
   261 				if (p->is_active) continue;
   261 				if (p->is_active) continue;
   262 
   262 
   263 				SETBIT(_legend_excluded_players, p->index);
   263 				SetBit(_legend_excluded_players, p->index);
   264 				RaiseWindowWidget(w, p->index + 3);
   264 				RaiseWindowWidget(w, p->index + 3);
   265 			}
   265 			}
   266 
   266 
   267 			DrawWindowWidgets(w);
   267 			DrawWindowWidgets(w);
   268 
   268 
   332 	byte nums;
   332 	byte nums;
   333 	int mo, yr;
   333 	int mo, yr;
   334 
   334 
   335 	/* Exclude the players which aren't valid */
   335 	/* Exclude the players which aren't valid */
   336 	FOR_ALL_PLAYERS(p) {
   336 	FOR_ALL_PLAYERS(p) {
   337 		if (!p->is_active) SETBIT(excluded_players, p->index);
   337 		if (!p->is_active) SetBit(excluded_players, p->index);
   338 	}
   338 	}
   339 	gd->excluded_data = excluded_players;
   339 	gd->excluded_data = excluded_players;
   340 	gd->num_vert_lines = 24;
   340 	gd->num_vert_lines = 24;
   341 
   341 
   342 	nums = 0;
   342 	nums = 0;