(svn r9784) -Codechange: remove unused variable.

This commit is contained in:
rubidium
2007-05-04 22:38:36 +00:00
parent 93793eb89a
commit bc1901a6e4
5 changed files with 1 additions and 15 deletions

View File

@@ -142,8 +142,6 @@ DEF_CONSOLE_CMD(ConStopAllVehicles)
FOR_ALL_VEHICLES(v) {
/* Code ripped from CmdStartStopTrain. Can't call it, because of
* ownership problems, so we'll duplicate some code, for now */
if (v->type == VEH_TRAIN)
v->u.rail.days_since_order_progr = 0;
v->vehstatus |= VS_STOPPED;
InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR);
InvalidateWindow(WC_VEHICLE_DEPOT, v->tile);