(svn r8698) -Codechange: enumify the returns of VehicleEnterTile

This commit is contained in:
rubidium
2007-02-13 10:26:53 +00:00
parent eab6dd9898
commit a419f4aeda
11 changed files with 67 additions and 51 deletions

View File

@@ -1016,13 +1016,13 @@ static uint32 VehicleEnter_Road(Vehicle *v, TileIndex tile, int x, int y)
v->u.road.frame == 11 &&
_roadveh_enter_depot_unk0[GetRoadDepotDirection(tile)] == v->u.road.state) {
VehicleEnterDepot(v);
return 4;
return VETSB_ENTERED_WORMHOLE;
}
break;
default: break;
}
return 0;
return VETSB_CONTINUE;
}