summaryrefslogtreecommitdiff
path: root/navit/vehicleprofile.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-08-27 17:24:28 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-08-27 17:24:28 +0000
commit1fcd71da862004d3d241332a25463090d981a9fa (patch)
treec0c27c5a54d7e8df3b490bc7775e4b4fb9210340 /navit/vehicleprofile.c
parent35817fcbb4049bcbb61458a53e54c1eaf4800b7a (diff)
downloadnavit-1fcd71da862004d3d241332a25463090d981a9fa.tar.gz
Add:Core:Add configurable penalty to turn around
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5613 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 2ce3ad1fa..905044fca 100644
--- a/navit/vehicleprofile.c
+++ b/navit/vehicleprofile.c
@@ -85,6 +85,9 @@ vehicleprofile_set_attr_do(struct vehicleprofile *this_, struct attr *attr)
case attr_through_traffic_penalty:
this_->through_traffic_penalty=attr->u.num;
break;
+ case attr_turn_around_penalty:
+ this_->turn_around_penalty=attr->u.num;
+ break;
default:
break;
}