src/town_cmd.cpp
changeset 6453 e65715f6e063
parent 6387 7ef7536b6861
child 6459 8c66c58bf6cf
equal deleted inserted replaced
6452:fc8ca2b46277 6453:e65715f6e063
   728 		// Try to grow the town from this point
   728 		// Try to grow the town from this point
   729 		GrowTownInTile(&tile,mask,block,t);
   729 		GrowTownInTile(&tile,mask,block,t);
   730 
   730 
   731 		// Exclude the source position from the bitmask
   731 		// Exclude the source position from the bitmask
   732 		// and return if no more road blocks available
   732 		// and return if no more road blocks available
   733 		mask = ClrBitT(mask, (block ^ 2));
   733 		ClrBitT(mask, (block ^ 2));
   734 		if (mask == 0)
   734 		if (mask == 0)
   735 			return _grow_town_result;
   735 			return _grow_town_result;
   736 
   736 
   737 		// Select a random bit from the blockmask, walk a step
   737 		// Select a random bit from the blockmask, walk a step
   738 		// and continue the search from there.
   738 		// and continue the search from there.