diff options
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index cb1c2c51b..152387c26 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -520,7 +520,7 @@ uint ShowRefitOptionsList(int left, int right, int y, EngineID engine) char *b = string; /* Draw nothing if the engine is not refittable */ - if (CountBits(cmask) <= 1) return y; + if (HasAtMostOneBit(cmask)) return y; b = InlineString(b, STR_PURCHASE_INFO_REFITTABLE_TO); |