summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-19 23:03:36 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-19 23:03:36 +0300
commitce234e915f6ee5557e6cc00b6aa9fd9b3bdbc152 (patch)
treeb9e2d76730abb1f46d9030db0e03f6e4484bc5f8
parentfe2b0ecc673d269327b6f5c32df65fad80193128 (diff)
downloadplus-ce234e915f6ee5557e6cc00b6aa9fd9b3bdbc152.tar.gz
plus-ce234e915f6ee5557e6cc00b6aa9fd9b3bdbc152.tar.bz2
plus-ce234e915f6ee5557e6cc00b6aa9fd9b3bdbc152.tar.xz
plus-ce234e915f6ee5557e6cc00b6aa9fd9b3bdbc152.zip
Allow moving by mouse if opened buy/sell dialogs.
-rw-r--r--src/being.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 14bfe1923..b8e50b764 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -2017,9 +2017,7 @@ void Being::talkTo()
bool Being::isTalking()
{
- return NpcDialog::isActive() || BuyDialog::isActive() ||
- SellDialog::isActive() || BuySellDialog::isActive() ||
- NpcPostDialog::isActive();
+ return NpcDialog::isActive() || NpcPostDialog::isActive();
}
bool Being::draw(Graphics *graphics, int offsetX, int offsetY) const