From a23067c1811576654bc8482748c8b1e3c6247dc2 Mon Sep 17 00:00:00 2001 From: ccolin Date: Sat, 2 Jan 2021 01:51:52 +0100 Subject: add clicking to a collision to seek to it --- src/drone.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/drone.cc') 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); } -- cgit v1.2.3-70-g09d2