From 02c109f9cf344f7056440e1155b764aba6b10780 Mon Sep 17 00:00:00 2001 From: Mikko Date: Thu, 24 Jan 2019 15:34:58 +0000 Subject: [PATCH] Update CAdvmapInterface.cpp --- client/windows/CAdvmapInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/windows/CAdvmapInterface.cpp b/client/windows/CAdvmapInterface.cpp index 3b1b68d5a..5e58eb0a1 100644 --- a/client/windows/CAdvmapInterface.cpp +++ b/client/windows/CAdvmapInterface.cpp @@ -126,7 +126,7 @@ void CTerrainRect::clickLeft(tribool down, bool previousState) #ifdef VCMI_ANDROID if(adventureInt->swipeEnabled) { - if(handleSwipeStateChange(down == true)) + if(handleSwipeStateChange((bool)down == true)) { return; // if swipe is enabled, we don't process "down" events and wait for "up" (to make sure this wasn't a swiping gesture) }