diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-19 21:32:20 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-19 21:32:20 +0000 |
commit | 5c31a973a1dae47f351d4dc9e0451b3341c400f8 (patch) | |
tree | 7d43b1e4a7bf1344b1d4cfb2dc2618720a0040e8 /src/main_gui.cpp | |
parent | 71c4325c50ae594a5adf01cac7c9e527b239cdcb (diff) | |
download | openttd-5c31a973a1dae47f351d4dc9e0451b3341c400f8.tar.xz |
(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index 02af27d71..5f7c8ea5d 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -822,7 +822,7 @@ static void ToolbarTrainClick(Window *w) int dis = -1; FOR_ALL_VEHICLES(v) { - if (v->type == VEH_TRAIN && IsFrontEngine(v)) CLRBIT(dis, v->owner); + if (v->type == VEH_TRAIN && IsFrontEngine(v)) ClrBit(dis, v->owner); } PopupMainPlayerToolbMenu(w, 13, dis); } @@ -833,7 +833,7 @@ static void ToolbarRoadClick(Window *w) int dis = -1; FOR_ALL_VEHICLES(v) { - if (v->type == VEH_ROAD && IsRoadVehFront(v)) CLRBIT(dis, v->owner); + if (v->type == VEH_ROAD && IsRoadVehFront(v)) ClrBit(dis, v->owner); } PopupMainPlayerToolbMenu(w, 14, dis); } @@ -844,7 +844,7 @@ static void ToolbarShipClick(Window *w) int dis = -1; FOR_ALL_VEHICLES(v) { - if (v->type == VEH_SHIP) CLRBIT(dis, v->owner); + if (v->type == VEH_SHIP) ClrBit(dis, v->owner); } PopupMainPlayerToolbMenu(w, 15, dis); } @@ -855,7 +855,7 @@ static void ToolbarAirClick(Window *w) int dis = -1; FOR_ALL_VEHICLES(v) { - if (v->type == VEH_AIRCRAFT) CLRBIT(dis, v->owner); + if (v->type == VEH_AIRCRAFT) ClrBit(dis, v->owner); } PopupMainPlayerToolbMenu(w, 16, dis); } |