(svn r2218) Indentation
This commit is contained in:
		@@ -239,10 +239,11 @@ static void AyStar_AiPathFinder_GetNeighbours(AyStar *aystar, OpenListNode *curr
 | 
				
			|||||||
				// If not, this means we are at the starting station
 | 
									// If not, this means we are at the starting station
 | 
				
			||||||
				if (PathFinderInfo->start_direction != AI_PATHFINDER_NO_DIRECTION) {
 | 
									if (PathFinderInfo->start_direction != AI_PATHFINDER_NO_DIRECTION) {
 | 
				
			||||||
					// We do need a direction?
 | 
										// We do need a direction?
 | 
				
			||||||
		       		if (AiNew_GetDirection(current->path.node.tile, current->path.node.tile + TileOffsByDir(i)) != PathFinderInfo->start_direction)
 | 
										if (AiNew_GetDirection(current->path.node.tile, current->path.node.tile + TileOffsByDir(i)) != PathFinderInfo->start_direction) {
 | 
				
			||||||
						// We are not pointing the right way, invalid tile
 | 
											// We are not pointing the right way, invalid tile
 | 
				
			||||||
						continue;
 | 
											continue;
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
			} else if (current->path.node.user_data[0] == 0) {
 | 
								} else if (current->path.node.user_data[0] == 0) {
 | 
				
			||||||
				if (PathFinderInfo->rail_or_road) {
 | 
									if (PathFinderInfo->rail_or_road) {
 | 
				
			||||||
					// Rail check
 | 
										// Rail check
 | 
				
			||||||
@@ -281,7 +282,6 @@ static void AyStar_AiPathFinder_GetNeighbours(AyStar *aystar, OpenListNode *curr
 | 
				
			|||||||
						if (CmdFailed(ret)) continue;
 | 
											if (CmdFailed(ret)) continue;
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			// The tile can be connected
 | 
								// The tile can be connected
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user