summaryrefslogtreecommitdiff
path: root/src/gui/popups/beingpopup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-21 16:52:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-21 16:52:59 +0300
commitac4e40a1408ad4d6fbcfce9d2bc6a0bc187ea5a4 (patch)
tree13314fbbb4945414b8be5d1d0236e1c41f88e8c8 /src/gui/popups/beingpopup.cpp
parent68857593b01b73d33fa1a12011cf9cb402db8a73 (diff)
downloadmanaplus-ac4e40a1408ad4d6fbcfce9d2bc6a0bc187ea5a4.tar.gz
manaplus-ac4e40a1408ad4d6fbcfce9d2bc6a0bc187ea5a4.tar.bz2
manaplus-ac4e40a1408ad4d6fbcfce9d2bc6a0bc187ea5a4.tar.xz
manaplus-ac4e40a1408ad4d6fbcfce9d2bc6a0bc187ea5a4.zip
Split StatusEffect into StatusEffect and StatusEffectDB.
Diffstat (limited to 'src/gui/popups/beingpopup.cpp')
-rw-r--r--src/gui/popups/beingpopup.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/popups/beingpopup.cpp b/src/gui/popups/beingpopup.cpp
index aad81d3cd..b5434eae0 100644
--- a/src/gui/popups/beingpopup.cpp
+++ b/src/gui/popups/beingpopup.cpp
@@ -37,6 +37,8 @@
#include "resources/chatobject.h"
+#include "resources/db/statuseffectdb.h"
+
#include "utils/gettext.h"
#include "utils/stringutils.h"
@@ -344,7 +346,7 @@ void BeingPopup::show(const int x, const int y, Being *const b)
FOR_EACH (std::set<int>::const_iterator, it, effects)
{
const StatusEffect *const effect =
- StatusEffect::getStatusEffect(
+ StatusEffectDB::getStatusEffect(
*it,
Enable_true);
if (!effect)