(svn r22074) -Cleanup (r22073): there was already a setting-callback that did what is needed

This commit is contained in:
yexo
2011-02-13 20:52:33 +00:00
parent e54d06dc13
commit 45ce53f37f
2 changed files with 1 additions and 12 deletions

View File

@@ -1147,16 +1147,6 @@ static bool StationCatchmentChanged(int32 p1)
}
static bool MarkAllTrainsDirty(int32 p1)
{
Train *t;
FOR_ALL_TRAINS(t) {
if (t->IsPrimaryVehicle()) t->MarkDirty();
}
SetWindowClassesDirty(WC_VEHICLE_DETAILS);
return true;
}
#ifdef ENABLE_NETWORK
static bool UpdateClientName(int32 p1)