(svn r16393) -Codechange: move VehicleRail to Train.

This commit is contained in:
rubidium
2009-05-22 22:55:41 +00:00
parent 6350648a6c
commit 4c0542c17f
18 changed files with 136 additions and 136 deletions

View File

@@ -49,7 +49,7 @@
}
return total_length;
}
case VEH_TRAIN: return v->u.rail.cached_total_length;
case VEH_TRAIN: return ((Train *)v)->tcache.cached_total_length;
default: return -1;
}
}