(svn r23848) -Fix: Even if A == B, A can make more sense than B.

This commit is contained in:
frosch 2012-01-24 22:30:57 +00:00
parent 9a49a60048
commit 6dc33ed4b5
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ CommandCost CmdSellVehicle(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3
ret = CommandCost(EXPENSES_NEW_VEHICLES, -front->value);
if (flags & DC_EXEC) {
if (v->IsPrimaryVehicle() && p1 & MAKE_ORDER_BACKUP_FLAG) OrderBackup::Backup(v, p2);
if (front->IsPrimaryVehicle() && p1 & MAKE_ORDER_BACKUP_FLAG) OrderBackup::Backup(front, p2);
delete front;
}
}