Skip to main content
Topic: [patch fix] Revise for r2610 fix (Read 1865 times) previous topic - next topic

[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.

Code: [Select]
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);
  }
  }



 

Re: [patch fix] Revise for r2610 fix

Reply #1
in rev 2617. thank you!
Parsley, sage, rosemary, and maggikraut.