summaryrefslogtreecommitdiff
path: root/navit/vehicleprofile.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-04-19 13:20:08 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-04-19 13:20:08 +0000
commit90a8db89f978f883c5fb137bddf876da75f84f39 (patch)
tree795c5ea322fbb55407ac68e2649b4a16d46f8741 /navit/vehicleprofile.c
parente5bf7b37ae52ddca780e9f3518c5266559b48226 (diff)
downloadnavit-svn-90a8db89f978f883c5fb137bddf876da75f84f39.tar.gz
Fix:Various:Routing fixes
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2215 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/vehicleprofile.c')
-rw-r--r--navit/vehicleprofile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/navit/vehicleprofile.c b/navit/vehicleprofile.c
index 533d8bb1..aba3b03c 100644
--- a/navit/vehicleprofile.c
+++ b/navit/vehicleprofile.c
@@ -26,6 +26,7 @@
void
vehicleprofile_set_attr_do(struct vehicleprofile *this_, struct attr *attr)
{
+ dbg(1,"%s:%d\n", attr_to_name(attr->type), attr->u.num);
switch (attr->type) {
case attr_flags:
this_->flags=attr->u.num;
@@ -34,7 +35,7 @@ vehicleprofile_set_attr_do(struct vehicleprofile *this_, struct attr *attr)
this_->flags_forward_mask=attr->u.num;
break;
case attr_flags_reverse_mask:
- this_->flags_forward_mask=attr->u.num;
+ this_->flags_reverse_mask=attr->u.num;
break;
case attr_maxspeed_handling:
this_->maxspeed_handling=attr->u.num;