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
commit508a5ccd09c41836c5f6cced143c50d82b6b3298 (patch)
tree861f3678921cfe242827d5d3b5962c6f2b216dca /navit/vehicleprofile.c
parent25f94097bc2d7b7abd46ad151d89f6f151416c5e (diff)
downloadnavit-508a5ccd09c41836c5f6cced143c50d82b6b3298.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 96ea1872c..bae828e0e 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;