File diff r4548:6a33e364fba5 → r4549:76b9213799ac
aircraft_cmd.c
Show inline comments
 
@@ -1915,14 +1915,14 @@ static bool AirportFindFreeTerminal(Vehi
 
	Station *st;
 

	
 
	/* example of more terminalgroups
 
		{0,HANGAR,NOTHING_block,1}, {0,255,TERM_GROUP1_block,0}, {0,255,TERM_GROUP2_ENTER_block,1}, {0,0,N,1},
 
		Heading 255 denotes a group. We see 2 groups here:
 
		1. group 0 -- TERM_GROUP1_block (check block)
 
		2. group 1 -- TERM_GROUP2_ENTER_block (check block)
 
		First in line is checked first, group 0. If the block (TERM_GROUP1_block) is free, it
 
		looks at the corresponding terminals of that group. If no free ones are found, other
 
		possible groups are checked (in this case group 1, since that is after group 0). If that
 
		fails, then attempt fails and plane waits
 
	 * {0,HANGAR,NOTHING_block,1}, {0,255,TERM_GROUP1_block,0}, {0,255,TERM_GROUP2_ENTER_block,1}, {0,0,N,1},
 
	 * Heading 255 denotes a group. We see 2 groups here:
 
	 * 1. group 0 -- TERM_GROUP1_block (check block)
 
	 * 2. group 1 -- TERM_GROUP2_ENTER_block (check block)
 
	 * First in line is checked first, group 0. If the block (TERM_GROUP1_block) is free, it
 
	 * looks at the corresponding terminals of that group. If no free ones are found, other
 
	 * possible groups are checked (in this case group 1, since that is after group 0). If that
 
	 * fails, then attempt fails and plane waits
 
	*/
 
	if (Airport->terminals[0] > 1) {
 
		st = GetStation(v->u.air.targetairport);