File diff r1173:9e4f0930733a → r1174:4ffa62f5467c
ai.c
Show inline comments
 
@@ -3762,7 +3762,7 @@ static void AiStateRemoveTrack(Player *p
 
		uint tile = ++p->ai.state_counter;
 

	
 
		// Iterated all tiles?
 
		if (tile == 0) {
 
		if (tile >= MapSize()) {
 
			p->ai.state = AIS_REMOVE_STATION;
 
			return;
 
		}