Fix floating Dialogs (Walking while in store)

This commit is contained in:
obligaron 2021-08-07 13:27:50 +02:00 committed by Anders Jenbo
commit b7cdf1eb59

View file

@ -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;