(svn r18836) -Codechange: make TrainUpdateSpeed a class function and update some comments (Terkhen)

This commit is contained in:
rubidium
2010-01-16 22:16:28 +00:00
parent df06c14f61
commit 199091600a
3 changed files with 19 additions and 19 deletions

View File

@@ -1279,7 +1279,7 @@ static Vehicle *UpdateTrainPowerProc(Vehicle *v, void *data)
{
if (v->type != VEH_TRAIN) return NULL;
/* Similiar checks as in TrainPowerChanged() */
/* Similar checks as in Train::PowerChanged() */
Train *t = Train::From(v);
if (t->IsArticulatedPart()) return NULL;