(svn r9805) -Codechange: Use HASBIT() et al for display options bits.

This commit is contained in:
peter1138
2007-05-07 11:24:23 +00:00
parent 152664e541
commit e4ada15d49
6 changed files with 29 additions and 29 deletions

View File

@@ -725,7 +725,7 @@ static void DrawRoadBits(TileInfo* ti)
}
/* Return if full detail is disabled, or we are zoomed fully out. */
if (!(_display_opt & DO_FULL_DETAIL) || _cur_dpi->zoom == 2) return;
if (!HASBIT(_display_opt, DO_FULL_DETAIL) || _cur_dpi->zoom == 2) return;
/* Draw extra details. */
for (drts = _road_display_table[roadside][road]; drts->image != 0; drts++) {