(svn r2558) Change the internal map format from 7 arrays to one array of structs, this doesn't change the saved format for now. It's a stepping stone for further changes.
This commit is contained in:
@@ -79,7 +79,7 @@ static void PlaceRail_AutoRail(TileIndex tile)
|
||||
|
||||
static void PlaceExtraDepotRail(TileIndex tile, uint16 extra)
|
||||
{
|
||||
byte b = _map5[tile];
|
||||
byte b = _m[tile].m5;
|
||||
|
||||
if (b & 0xC0 || !(b & (extra >> 8)))
|
||||
return;
|
||||
|
Reference in New Issue
Block a user