(svn r16498) -Codechange: Remove hardly used HASBITS.

This commit is contained in:
frosch
2009-06-01 15:01:54 +00:00
parent da57fe63f3
commit 0d782b0f96
9 changed files with 27 additions and 39 deletions

View File

@@ -613,7 +613,7 @@ CommandCost CmdAutoreplaceVehicle(TileIndex tile, DoCommandFlag flags, uint32 p1
if (!CheckOwnership(v->owner)) return CMD_ERROR;
if (!v->IsInDepot()) return CMD_ERROR;
if (HASBITS(v->vehstatus, VS_CRASHED)) return CMD_ERROR;
if (v->vehstatus & VS_CRASHED) return CMD_ERROR;
bool free_wagon = false;
if (v->type == VEH_TRAIN) {