summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 2fdbfe55a..d08d8d5e7 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -82,6 +82,7 @@
#include "resources/map/map.h"
+#include "gui/widgets/createwidget.h"
#include "gui/widgets/skilldata.h"
#include "gui/widgets/skillinfo.h"
@@ -313,8 +314,7 @@ Being::~Being()
void Being::createSpeechBubble()
{
- mSpeechBubble = new SpeechBubble;
- mSpeechBubble->postInit();
+ CREATEWIDGET1(mSpeechBubble, SpeechBubble);
}
void Being::setSubtype(const BeingTypeId subtype,