equal
deleted
inserted
replaced
651 // Same bit, used in different contexts |
651 // Same bit, used in different contexts |
652 sigvar = HASBIT(p1, 3) ? SIG_SEMAPHORE : SIG_ELECTRIC; |
652 sigvar = HASBIT(p1, 3) ? SIG_SEMAPHORE : SIG_ELECTRIC; |
653 pre_signal = HASBIT(p1, 3); |
653 pre_signal = HASBIT(p1, 3); |
654 |
654 |
655 if (!ValParamTrackOrientation(track) || |
655 if (!ValParamTrackOrientation(track) || |
656 !(IsTileType(tile, MP_RAILWAY) || IsTileType(tile, MP_RAILWAY_BRIDGE)) || |
656 !(IsTileType(tile, MP_RAILWAY) /* || IsTileType(tile, MP_RAILWAY_BRIDGE) */ ) || |
657 !EnsureNoVehicle(tile)) { |
657 !EnsureNoVehicle(tile)) { |
658 return CMD_ERROR; |
658 return CMD_ERROR; |
659 } |
659 } |
660 |
660 |
661 /* Protect against invalid signal copying */ |
661 /* Protect against invalid signal copying */ |