]> rtime.felk.cvut.cz Git - hubacji1/psp.git/commitdiff
Fix missing parked() for successfinish
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Wed, 8 Jul 2020 09:35:37 +0000 (11:35 +0200)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Wed, 8 Jul 2020 09:35:37 +0000 (11:35 +0200)
src/psp.cc

index 3fc91d4035a5c5e3f38c429db9dda530ce045e91..740630fe750e2a2234e0bf123e6e8db56edff1e6 100644 (file)
@@ -532,6 +532,7 @@ void PSPlanner::fe_parallel()
                                 this->cc().rotate(ccrx, ccry, -af);
                                 if (
                                         !this->collide()
+                                        && this->parked()
                                         && (
                                                 edist(
                                                         this->ps().x1(),