(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions

This commit is contained in:
rubidium
2009-07-02 09:06:15 +00:00
parent f97bd41ed4
commit 18fbe0aac4
13 changed files with 26 additions and 26 deletions

View File

@@ -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;
}
}