diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-03 00:46:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-03 13:17:37 +0300 |
commit | 8b2464a723f7039a3efbc0c7d2e883729b3fa7dd (patch) | |
tree | 0564c85d8f6301d8a0b916f37612e27788d82853 /src/gui/popupmanager.h | |
parent | 63054bddcc1a306787250209b03c04086b9b472f (diff) | |
download | mv-8b2464a723f7039a3efbc0c7d2e883729b3fa7dd.tar.gz mv-8b2464a723f7039a3efbc0c7d2e883729b3fa7dd.tar.bz2 mv-8b2464a723f7039a3efbc0c7d2e883729b3fa7dd.tar.xz mv-8b2464a723f7039a3efbc0c7d2e883729b3fa7dd.zip |
Fix some casts.
Diffstat (limited to 'src/gui/popupmanager.h')
-rw-r--r-- | src/gui/popupmanager.h | 14 |
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); |