summaryrefslogtreecommitdiff
path: root/navit/vehicleprofile.c
diff options
context:
space:
mode:
authormvglasow <michael -at- vonglasow.com>2015-12-15 19:20:06 +0100
committermvglasow <michael -at- vonglasow.com>2015-12-15 19:20:06 +0100
commitdcd62808da3c360d3549be1426e00b540ed955dc (patch)
treebd27eea61dd7bae8e34d144d08d72ff55c323761 /navit/vehicleprofile.c
parentb61fded36b6e11027e18b7042b078285dc7a656f (diff)
downloadnavit-dcd62808da3c360d3549be1426e00b540ed955dc.tar.gz
Refactor:core:Use constants for vehicleprofile.maxspeed_handlingR6419
Signed-off-by: mvglasow <michael -at- vonglasow.com>
Diffstat (limited to 'navit/vehicleprofile.c')
-rw-r--r--navit/vehicleprofile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/vehicleprofile.c b/navit/vehicleprofile.c
index b48dddacb..9da721d26 100644
--- a/navit/vehicleprofile.c
+++ b/navit/vehicleprofile.c
@@ -119,7 +119,7 @@ vehicleprofile_clear(struct vehicleprofile *this_)
this_->flags_forward_mask=0;
this_->flags_reverse_mask=0;
this_->flags=0;
- this_->maxspeed_handling=0;
+ this_->maxspeed_handling = maxspeed_enforce;
this_->static_speed=0;
this_->static_distance=0;
g_free(this_->name);