author | hackykid |
Sun, 17 Jul 2005 18:48:45 +0000 | |
changeset 2111 | 01b0f78b965b |
parent 2110 | 66b3591f65fb |
child 2112 | 280beaa78c66 |
rail_cmd.c | file | annotate | diff | comparison | revisions |
--- a/rail_cmd.c Sun Jul 17 18:48:05 2005 +0000 +++ b/rail_cmd.c Sun Jul 17 18:48:45 2005 +0000 @@ -486,6 +486,10 @@ /* We remove the trackbit here. */ _m[tile].m5 &= ~trackbit; + /* Unreserve track for PBS */ + if (PBSTileReserved(tile) & trackbit) + PBSClearTrack(tile, track); + if (GetTrackBits(tile) == 0) { /* The tile has no tracks left, it is no longer a rail tile */ DoClearSquare(tile);