1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Update CAdvmapInterface.cpp

This commit is contained in:
Mikko 2019-01-24 15:34:58 +00:00 committed by GitHub
parent f8ab2db0ea
commit 02c109f9cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}