summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-12-08 00:43:21 +0300
committerAndrei Karas <akaras@inbox.ru>2011-12-08 00:43:21 +0300
commitc075c0daa245819d0a07fea6695f233fd329e397 (patch)
tree051f09fc1a5cf2ca256c50c9b77f246bb56b7b43 /src/gui/popupmenu.h
parent1ba2a5d3f3687976cefd8b12cd3d001f754b55e3 (diff)
downloadmv-c075c0daa245819d0a07fea6695f233fd329e397.tar.gz
mv-c075c0daa245819d0a07fea6695f233fd329e397.tar.bz2
mv-c075c0daa245819d0a07fea6695f233fd329e397.tar.xz
mv-c075c0daa245819d0a07fea6695f233fd329e397.zip
Add to combined menu also floor items.
Diffstat (limited to 'src/gui/popupmenu.h')
-rw-r--r--src/gui/popupmenu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/popupmenu.h b/src/gui/popupmenu.h
index 6dc9a953a..2db565ab7 100644
--- a/src/gui/popupmenu.h
+++ b/src/gui/popupmenu.h
@@ -26,6 +26,8 @@
#include "gui/widgets/linkhandler.h"
#include "gui/widgets/popup.h"
+#include "actorsprite.h"
+
#include <guichan/actionlistener.hpp>
#include "localconsts.h"
@@ -102,7 +104,7 @@ class PopupMenu : public Popup, public LinkHandler
/**
* Shows the beings related popup menu at the specified mouse coords.
*/
- void showPopup(int x, int y, std::vector<Being*> &beings);
+ void showPopup(int x, int y, std::vector<ActorSprite*> &beings);
void showPlayerPopup(int x, int y, std::string nick);