aboutsummaryrefslogtreecommitdiff
path: root/src/drone.cc
diff options
context:
space:
mode:
authorccolin2021-01-02 01:51:52 +0100
committerccolin2021-01-02 01:51:52 +0100
commita23067c1811576654bc8482748c8b1e3c6247dc2 (patch)
tree6ce0c0860a7711d49c6ef1cee00733ca24a5b1e3 /src/drone.cc
parentbb0da810d945d98b25390c65ab3f34e695914fd6 (diff)
add clicking to a collision to seek to it
Diffstat (limited to 'src/drone.cc')
-rw-r--r--src/drone.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drone.cc b/src/drone.cc
index b7e4007..0be11a6 100644
--- a/src/drone.cc
+++ b/src/drone.cc
@@ -29,6 +29,7 @@ Drone::Drone(const QJsonObject &json)
for (const QJsonValue &o : ja) {
waypoints.append(Waypoint(o.toObject()));
}
+ setTo(0);
}