diff --git a/map/navigator.cpp b/map/navigator.cpp index 75298304cd..6c6fd90637 100644 --- a/map/navigator.cpp +++ b/map/navigator.cpp @@ -507,7 +507,7 @@ void Navigator::StartMomentScaleReseter() void Navigator::KillMomentScaleReseter() { - if (m_reseterTask == NULL) + if (m_reseterTask) m_reseterTask->CancelBlocking(); }