From 03b7ca4ae4d9710e608404296ccc3f84b830be75 Mon Sep 17 00:00:00 2001 From: Alayan Date: Sun, 28 Apr 2019 03:37:03 +0200 Subject: [PATCH] Fix #3883 --- src/modes/capture_the_flag.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modes/capture_the_flag.cpp b/src/modes/capture_the_flag.cpp index 7d6b73343..28caa9198 100644 --- a/src/modes/capture_the_flag.cpp +++ b/src/modes/capture_the_flag.cpp @@ -248,7 +248,6 @@ void CaptureTheFlag::update(int ticks) m_blue_flag->update(ticks); if (m_red_flag->getHolder() != -1 && m_blue_flag->isInBase() && - m_blue_flag->isActivated() && (m_blue_flag->getBaseOrigin() - m_red_flag->getOrigin()).length() < g_capture_length) { @@ -279,7 +278,6 @@ void CaptureTheFlag::update(int ticks) m_red_flag->resetToBase(race_manager->getFlagDeactivatedTicks()); } else if (m_blue_flag->getHolder() != -1 && m_red_flag->isInBase() && - m_red_flag->isActivated() && (m_red_flag->getBaseOrigin() - m_blue_flag->getOrigin()).length() < g_capture_length) {