diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-07-27 13:07:43 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-07-27 13:07:43 +0000 |
commit | 965ecbdb88f2501de17e68fbd3de45a2fac07ffa (patch) | |
tree | ce221be10a4d39e29d25bd581143ba18d68e6bba | |
parent | 4956655e5dd4e639214a2ce3185e8f9bf95941b1 (diff) | |
download | navit-svn-965ecbdb88f2501de17e68fbd3de45a2fac07ffa.tar.gz |
Fix:Core:Fixed recalculation with profile change
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit/navit@2416 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r-- | route.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -498,9 +498,7 @@ route_set_profile(struct route *this, struct vehicleprofile *prof) { if (this->vehicleprofile != prof) { this->vehicleprofile=prof; - route_path_destroy(this->path2); - this->path2 = NULL; - route_path_update(this, 0, 0); + route_path_update(this, 1, 1); } } |