summaryrefslogtreecommitdiff
path: root/navit/vehicleprofile.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-11-15 12:15:15 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-11-15 12:15:15 +0000
commit2c8d9bd592b8257bf36b6a513544f1576657cc96 (patch)
tree861f3678921cfe242827d5d3b5962c6f2b216dca /navit/vehicleprofile.c
parent811bd9541b532ef9b9a5308b6f9afc2764c92fca (diff)
downloadnavit-svn-2c8d9bd592b8257bf36b6a513544f1576657cc96.tar.gz
Fix:Core:Make dangerous goods actually work
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5270 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/vehicleprofile.c')
-rw-r--r--navit/vehicleprofile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/navit/vehicleprofile.c b/navit/vehicleprofile.c
index 96ea1872..bae828e0 100644
--- a/navit/vehicleprofile.c
+++ b/navit/vehicleprofile.c
@@ -55,6 +55,9 @@ vehicleprofile_set_attr_do(struct vehicleprofile *this_, struct attr *attr)
case attr_vehicle_axle_weight:
this_->axle_weight=attr->u.num;
break;
+ case attr_vehicle_dangerous_goods:
+ this_->dangerous_goods=attr->u.num;
+ break;
case attr_vehicle_height:
this_->height=attr->u.num;
break;