mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-22 11:44:17 +01:00
Codechange: Expand the single usage of the macro CLRBITS.
This commit is contained in:
@@ -540,7 +540,7 @@ static CommandCost RemoveRoad(TileIndex tile, DoCommandFlags flags, RoadBits pie
|
||||
static CommandCost CheckRoadSlope(Slope tileh, RoadBits *pieces, RoadBits existing, RoadBits other)
|
||||
{
|
||||
/* Remove already build pieces */
|
||||
CLRBITS(*pieces, existing);
|
||||
*pieces &= ~existing;
|
||||
|
||||
/* If we can't build anything stop here */
|
||||
if (*pieces == ROAD_NONE) return CMD_ERROR;
|
||||
|
||||
Reference in New Issue
Block a user