From b7cdf1eb59d5bbee16379964b4b1be7d484bc5fe Mon Sep 17 00:00:00 2001 From: obligaron Date: Sat, 7 Aug 2021 13:27:50 +0200 Subject: [PATCH] Fix floating Dialogs (Walking while in store) --- Source/track.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/track.cpp b/Source/track.cpp index 6ca890f2b..8c259acfd 100644 --- a/Source/track.cpp +++ b/Source/track.cpp @@ -10,6 +10,7 @@ #include "cursor.h" #include "engine/point.hpp" #include "player.h" +#include "stores.h" namespace devilution { @@ -40,6 +41,9 @@ void RepeatMouseAction() if (sgbMouseDown == CLICK_NONE) return; + if (stextflag != STORE_NONE) + return; + if (LastMouseButtonAction == MouseActionType::None) return;