Changeset - r8412:6db2076a2d90
[Not reviewed]
master
0 1 0
frosch - 17 years ago 2008-01-25 13:54:27
frosch@openttd.org
(svn r11982) -Revert (r8738): Now we have shores in corners. No need to remove them from TTDP games.
1 file changed with 0 insertions and 10 deletions:
0 comments (0 inline, 0 general)
src/oldloader.cpp
Show inline comments
 
@@ -1617,22 +1617,12 @@ static bool LoadOldMain(LoadgameState *l
 
						_m[i].m4 = (_m[i].m4 >> 1) & 7;
 
				}
 
				/* TTDPatch stores PBS things in L6 and all elsewhere; so we'll just
 
				 * clear it for ourselves and let OTTD's rebuild PBS itself */
 
				_m[i].m4 &= 0xF; /* Only keep the lower four bits; upper four is PBS */
 
				break;
 
			case MP_WATER: {
 
				/* TTDPatch has all tiles touching water as coast (water)-type, we don't.
 
				 * This is only true from a certain TTDP version, but there is no harm
 
				 * in checking all the time */
 
				Slope s = GetTileSlope(i, NULL);
 
				if (s == SLOPE_ENW || s == SLOPE_NWS || s == SLOPE_SEN || s == SLOPE_WSE || IsSteepSlope(s)) {
 
					SetTileType(i, MP_CLEAR);
 
					SetTileOwner(i, OWNER_NONE);
 
				}
 
			} break;
 
			default: break;
 
		}
 
	}
 

	
 
	/* Make sure the available engines are really available, otherwise
 
	 * we will get a "new vehicle"-spree. */
0 comments (0 inline, 0 general)