[patch fix] Revise for r2610 fix
Sorry, my fix_stop_moving_r2608.patch was wrong.
It causes crash with waypoint.
This will fix the problem.
Index: simwerkz.cc
===================================================================
--- simwerkz.cc (r 2615)
+++ simwerkz.cc (copy)
@@ -3743,7 +3743,9 @@
if(updated) {
fpl->cleanup();
// remove line from old stop is needed at here
- last_halt->remove_line(line);
+ if(last_halt.is_bound()) {
+ last_halt->remove_line(line);
+ }
sp->simlinemgmt.update_line(line);
}
}