summaryrefslogtreecommitdiff
path: root/src/player_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/player_gui.cpp')
-rw-r--r--src/player_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player_gui.cpp b/src/player_gui.cpp
index 1218f305d..87a3266ac 100644
--- a/src/player_gui.cpp
+++ b/src/player_gui.cpp
@@ -275,7 +275,7 @@ static void ShowColourDropDownMenu(Window *w, uint32 widget)
if (HasBit(WP(w, livery_d).sel, LS_DEFAULT) && widget == 10) {
const Player *p;
FOR_ALL_PLAYERS(p) {
- if (p->is_active && p->index != _local_player) SETBIT(used_colours, p->player_color);
+ if (p->is_active && p->index != _local_player) SetBit(used_colours, p->player_color);
}
}