summaryrefslogtreecommitdiff
path: root/src/player_gui.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-20 13:35:54 +0000
committerskidd13 <skidd13@openttd.org>2007-11-20 13:35:54 +0000
commit3ae50673a3e1e64a6038c53570c5ee168073e038 (patch)
tree51f15a2e52f58ea4446467086c5441cebe4324bf /src/player_gui.cpp
parent795174edf13e99cdef7eda73fbc088e2b06df051 (diff)
downloadopenttd-3ae50673a3e1e64a6038c53570c5ee168073e038.tar.xz
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
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);
}
}