Files @ r831:988a3e103fad
Branch filter:

Location: cpp/openttd-patchpack/source/table/directions.h

truelight
(svn r1302) -Fix: [ 1091655 ] In some older maps somehow water is owned by
OWNER_NONE instead of OWNER_WATER.
-Fix: On InitializeLandscape the map was made MP_WATER, but OWNER_NONE.
When ConvertGroundTilesIntoWaterTiles() is not called, this gives big
problems (see above). Now the owner is set to OWNER_WATER by default.
1
2
3
4
5
6
7
8
static const byte _dir_to_straight_trackdir[4] = {
	0, 1, 8, 9,
};

static const byte _reverse_dir[4] = {
//	3, 0, 1, 2
	2, 3, 0, 1
};