summaryrefslogtreecommitdiff
path: root/src/gui/popupmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-03 00:46:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-03 13:17:37 +0300
commit8b2464a723f7039a3efbc0c7d2e883729b3fa7dd (patch)
tree0564c85d8f6301d8a0b916f37612e27788d82853 /src/gui/popupmanager.h
parent63054bddcc1a306787250209b03c04086b9b472f (diff)
downloadplus-8b2464a723f7039a3efbc0c7d2e883729b3fa7dd.tar.gz
plus-8b2464a723f7039a3efbc0c7d2e883729b3fa7dd.tar.bz2
plus-8b2464a723f7039a3efbc0c7d2e883729b3fa7dd.tar.xz
plus-8b2464a723f7039a3efbc0c7d2e883729b3fa7dd.zip
Fix some casts.
Diffstat (limited to 'src/gui/popupmanager.h')
-rw-r--r--src/gui/popupmanager.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/gui/popupmanager.h b/src/gui/popupmanager.h
index fcd0f0919..3e54b1742 100644
--- a/src/gui/popupmanager.h
+++ b/src/gui/popupmanager.h
@@ -23,6 +23,13 @@
#ifndef GUI_POPUPMANAGER_H
#define GUI_POPUPMANAGER_H
+#include "being/actortype.h"
+
+#include <string>
+#include <vector>
+
+#include "localconsts.h"
+
class ActorSprite;
class Button;
class Being;
@@ -38,11 +45,6 @@ class TextField;
class TextPopup;
class Window;
-#include <string>
-#include <vector>
-
-#include "localconsts.h"
-
class PopupManager final
{
public:
@@ -115,7 +117,7 @@ class PopupManager final
void showSpellPopup(TextCommand *const cmd);
void showAttackMonsterPopup(const std::string &name,
- const int type);
+ const ActorType::Type &type);
void showPickupItemPopup(const std::string &name);