(svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class.
This commit is contained in:
@@ -1025,7 +1025,7 @@ bool AfterLoadGame()
|
||||
}
|
||||
|
||||
FOR_ALL_VEHICLES(v) {
|
||||
if (v->type != VEH_TRAIN && v->type != VEH_ROAD) continue;
|
||||
if (!v->IsGroundVehicle()) continue;
|
||||
if (IsBridgeTile(v->tile)) {
|
||||
DiagDirection dir = GetTunnelBridgeDirection(v->tile);
|
||||
|
||||
|
Reference in New Issue
Block a user