(svn r16498) -Codechange: Remove hardly used HASBITS.
This commit is contained in:
@@ -959,7 +959,7 @@ static bool GrowTownWithBridge(const Town *t, const TileIndex tile, const DiagDi
|
||||
/* Make sure the direction is compatible with the slope.
|
||||
* Well we check if the slope has an up bit set in the
|
||||
* reverse direction. */
|
||||
if (HASBITS(slope, InclinedSlope(bridge_dir))) return false;
|
||||
if (slope & InclinedSlope(bridge_dir)) return false;
|
||||
|
||||
/* Assure that the bridge is connectable to the start side */
|
||||
if (!(GetTownRoadBits(TileAddByDiagDir(tile, ReverseDiagDir(bridge_dir))) & DiagDirToRoadBits(bridge_dir))) return false;
|
||||
@@ -2121,7 +2121,7 @@ static bool BuildTownHouse(Town *t, TileIndex tile)
|
||||
SetBit(oneof, TOWN_HAS_STADIUM);
|
||||
}
|
||||
|
||||
if (HASBITS(t->flags12, oneof)) continue;
|
||||
if (t->flags12 & oneof) continue;
|
||||
|
||||
/* Make sure there is no slope? */
|
||||
bool noslope = (hs->building_flags & TILE_NOT_SLOPED) != 0;
|
||||
|
Reference in New Issue
Block a user