equal
deleted
inserted
replaced
339 * iterate all the tracks in a signal block, even when a normal train would |
339 * iterate all the tracks in a signal block, even when a normal train would |
340 * not reach it (for example, when two lines merge */ |
340 * not reach it (for example, when two lines merge */ |
341 if (tpf->hasbit_13) |
341 if (tpf->hasbit_13) |
342 return; |
342 return; |
343 |
343 |
344 tile = tile_org; |
|
345 direction = ReverseDiagDir(direction); |
344 direction = ReverseDiagDir(direction); |
|
345 tile += TileOffsByDiagDir(direction); |
346 |
346 |
347 bits = GetTileTrackStatus(tile, tpf->tracktype); |
347 bits = GetTileTrackStatus(tile, tpf->tracktype); |
348 bits |= (bits >> 8); |
348 bits |= (bits >> 8); |
349 |
349 |
350 if ( (byte)bits != tpf->var2) { |
350 if ( (byte)bits != tpf->var2) { |