(svn r16393) -Codechange: move VehicleRail to Train.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user