diff options
author | peter1138 <peter1138@openttd.org> | 2007-05-07 11:24:23 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-05-07 11:24:23 +0000 |
commit | 0de85b7eb0375f3b857c10fc172f3894a906d758 (patch) | |
tree | 45872079a8d4c2bb43978e42bafd845484977201 /src/road_cmd.cpp | |
parent | 76ee6d1c8295c55ad7af89e43cbf5012847aba0f (diff) | |
download | openttd-0de85b7eb0375f3b857c10fc172f3894a906d758.tar.xz |
(svn r9805) -Codechange: Use HASBIT() et al for display options bits.
Diffstat (limited to 'src/road_cmd.cpp')
-rw-r--r-- | src/road_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp index 2577e9b9c..3217f045f 100644 --- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -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++) { |