(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style

This commit is contained in:
skidd13
2007-11-19 21:32:20 +00:00
parent c0a2c0c23e
commit 6801cceda1
32 changed files with 93 additions and 98 deletions

View File

@@ -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);
}