Changeset - r18866:a07ec3fd69a8
[Not reviewed]
master
0 1 0
yexo - 13 years ago 2012-01-03 00:47:56
yexo@openttd.org
(svn r23725) -Fix (r23723): compile before commit
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/water_cmd.cpp
Show inline comments
 
@@ -1164,13 +1164,13 @@ void TileLoop_Water(TileIndex tile)
 
			break;
 

	
 
		case FLOOD_DRYUP: {
 
			Slope slope_here = GetFoundationSlope(tile) & ~SLOPE_HALFTILE_MASK & ~SLOPE_STEEP;
 
			uint dir;
 
			FOR_EACH_SET_BIT(dir, _flood_from_dirs[slope_here]) {
 
				TileIndex dest = tile + TileOffsByDir(dir);
 
				TileIndex dest = tile + TileOffsByDir((Direction)dir);
 
				if (!IsValidTile(dest)) continue;
 

	
 
				FloodingBehaviour dest_behaviour = GetFloodingBehaviour(dest);
 
				if ((dest_behaviour == FLOOD_ACTIVE) || (dest_behaviour == FLOOD_PASSIVE)) return;
 
			}
 
			DoDryUp(tile);
0 comments (0 inline, 0 general)