(svn r21804) -Remove [FS#4409]: the 'stopall' console command, as its functionality was broken. Group start/stop commands can be used instead

This commit is contained in:
smatz
2011-01-15 15:51:16 +00:00
parent b6148914b0
commit 6d9789fed8
3 changed files with 0 additions and 26 deletions

View File

@@ -2174,19 +2174,6 @@ Order *Vehicle::GetNextManualOrder(int index) const
return order;
}
void StopAllVehicles()
{
Vehicle *v;
FOR_ALL_VEHICLES(v) {
/* Code ripped from CmdStartStopTrain. Can't call it, because of
* ownership problems, so we'll duplicate some code, for now */
v->vehstatus |= VS_STOPPED;
v->MarkDirty();
SetWindowWidgetDirty(WC_VEHICLE_VIEW, v->index, VVW_WIDGET_START_STOP_VEH);
SetWindowDirty(WC_VEHICLE_DEPOT, v->tile);
}
}
void VehiclesYearlyLoop()
{
Vehicle *v;