From 42114fa4fcd6e3828f162da42b05f211f0a46715 Mon Sep 17 00:00:00 2001 From: Ewilhan <45350161+Ewilhan@users.noreply.github.com> Date: Fri, 3 May 2019 06:20:32 +0100 Subject: [PATCH] Fixed wrongCursorOnFriendlyDwelling Added else condition that covers cases "ObjectAtTile that is not enemy nor is Town nor is current Hero". This should cover all cases of friendly dwellings/mines not having the correct cursor. --- client/windows/CAdvmapInterface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/windows/CAdvmapInterface.cpp b/client/windows/CAdvmapInterface.cpp index 5e58eb0a1..f7f8eca16 100644 --- a/client/windows/CAdvmapInterface.cpp +++ b/client/windows/CAdvmapInterface.cpp @@ -1755,6 +1755,8 @@ void CAdvMapInt::tileHovered(const int3 &mapPos) CCS->curh->changeGraphic(ECursor::ADVENTURE, 3); else if(objAtTile->ID == Obj::HERO && objRelations == PlayerRelations::SAME_PLAYER) CCS->curh->changeGraphic(ECursor::ADVENTURE, 2); + else + CCS->curh->changeGraphic(ECursor::ADVENTURE, 0); } else CCS->curh->changeGraphic(ECursor::ADVENTURE, 0);