From 96b520ce75dfc9486fff7410b40ef97e3a8d9421 Mon Sep 17 00:00:00 2001 From: vng Date: Mon, 7 Apr 2014 18:52:15 +0300 Subject: [PATCH] Fixed typo caused crash. --- map/navigator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }