(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
This commit is contained in:
@@ -1870,7 +1870,7 @@ bool AfterLoadGame()
|
||||
FOR_ALL_DISASTERVEHICLES(v) {
|
||||
if (v->subtype == 2/*ST_SMALL_UFO*/ && v->current_order.GetDestination() != 0) {
|
||||
const Vehicle *u = Vehicle::GetIfValid(v->dest_tile);
|
||||
if (u == NULL || u->type != VEH_ROAD || !IsRoadVehFront(u)) {
|
||||
if (u == NULL || u->type != VEH_ROAD || !RoadVehicle::From(u)->IsRoadVehFront()) {
|
||||
delete v;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user