diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-26 23:01:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-26 23:01:18 +0300 |
commit | b726bb81f2e1d0bebbef43e8e7ade541745535e9 (patch) | |
tree | 6446c04e81cfa10cb900470073ec72cbc0027e4e /src/gui | |
parent | 38a861c3e5d14ad3c1db04be8c65e84966758d88 (diff) | |
download | manaverse-b726bb81f2e1d0bebbef43e8e7ade541745535e9.tar.gz manaverse-b726bb81f2e1d0bebbef43e8e7ade541745535e9.tar.bz2 manaverse-b726bb81f2e1d0bebbef43e8e7ade541745535e9.tar.xz manaverse-b726bb81f2e1d0bebbef43e8e7ade541745535e9.zip |
Show popup on pets.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/viewport.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index d2dddb4d8..e214fc4a8 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -849,7 +849,8 @@ void Viewport::mouseMoved(gcn::MouseEvent &event A_UNUSED) mHoverBeing = actorManager->findBeingByPixel(x, y, true); if (mHoverBeing && (mHoverBeing->getType() == Being::PLAYER - || mHoverBeing->getType() == Being::NPC)) + || mHoverBeing->getType() == Being::NPC + || mHoverBeing->getType() == Being::PET)) { mTextPopup->setVisible(false); if (mShowBeingPopup) |