equal
deleted
inserted
replaced
483 if (!(flags & DC_EXEC)) |
483 if (!(flags & DC_EXEC)) |
484 return cost; |
484 return cost; |
485 |
485 |
486 /* We remove the trackbit here. */ |
486 /* We remove the trackbit here. */ |
487 _m[tile].m5 &= ~trackbit; |
487 _m[tile].m5 &= ~trackbit; |
|
488 |
|
489 /* Unreserve track for PBS */ |
|
490 if (PBSTileReserved(tile) & trackbit) |
|
491 PBSClearTrack(tile, track); |
488 |
492 |
489 if (GetTrackBits(tile) == 0) { |
493 if (GetTrackBits(tile) == 0) { |
490 /* The tile has no tracks left, it is no longer a rail tile */ |
494 /* The tile has no tracks left, it is no longer a rail tile */ |
491 DoClearSquare(tile); |
495 DoClearSquare(tile); |
492 /* XXX: This is an optimisation, right? Is it really worth the ugly goto? */ |
496 /* XXX: This is an optimisation, right? Is it really worth the ugly goto? */ |