From ac4e40a1408ad4d6fbcfce9d2bc6a0bc187ea5a4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 21 Mar 2016 16:52:59 +0300 Subject: Split StatusEffect into StatusEffect and StatusEffectDB. --- src/gui/popups/beingpopup.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui') 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::const_iterator, it, effects) { const StatusEffect *const effect = - StatusEffect::getStatusEffect( + StatusEffectDB::getStatusEffect( *it, Enable_true); if (!effect) -- cgit v1.2.3-70-g09d2