From f8ab2db0eaaca64ab0a6fa176c721e279201fa50 Mon Sep 17 00:00:00 2001 From: Mikko Date: Thu, 24 Jan 2019 15:30:09 +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 d50488272..3b1b68d5a 100644 --- a/client/windows/CAdvmapInterface.cpp +++ b/client/windows/CAdvmapInterface.cpp @@ -162,7 +162,7 @@ void CTerrainRect::clickRight(tribool down, bool previousState) void CTerrainRect::clickMiddle(tribool down, bool previousState) { - handleSwipeStateChange(down == true); + handleSwipeStateChange((bool)down == true); } void CTerrainRect::mouseMoved(const SDL_MouseMotionEvent & sEvent)