From 4e11b90cd32924efeb39606e70746a1022017881 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 10 Jul 2023 18:43:33 +0200 Subject: [PATCH] Fix a warning. --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 2edd111..80ebd6f 100644 --- a/main.cpp +++ b/main.cpp @@ -160,7 +160,7 @@ MainWindow::MainWindow(EventsModel *events, PlayersModel *players, EventsModel::Status s = events->get_status_at(video->position()); if (s.pull_state == EventsModel::Status::SHOULD_PULL) { set_current_event_type("pull"); - } else if (EventsModel::Status::PULL_IN_AIR) { + } else if (s.pull_state == EventsModel::Status::PULL_IN_AIR) { insert_noplayer_event("pull_landed"); } }); -- 2.39.2