summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/socialtabbase.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/socialtabbase.h b/src/gui/widgets/tabs/socialtabbase.h
index 6a64ad9f0..d15f39a6c 100644
--- a/src/gui/widgets/tabs/socialtabbase.h
+++ b/src/gui/widgets/tabs/socialtabbase.h
@@ -23,6 +23,8 @@
#include "actormanager.h"
+#include "resources/mapitemtype.h"
+
#include "resources/map/mapitem.h"
#define addAvatars(mob, str, type) \
@@ -30,7 +32,7 @@
ava = new Avatar(str);\
ava->setOnline(false);\
ava->setLevel(-1);\
- ava->setType(MapItem::SEPARATOR);\
+ ava->setType(MapItemType::SEPARATOR);\
ava->setX(0);\
ava->setY(0);\
avatars->push_back(ava);\
@@ -53,7 +55,7 @@
ava = new Avatar(name);\
ava->setOnline(true);\
ava->setLevel(level);\
- ava->setType(MapItem::type);\
+ ava->setType(MapItemType::type);\
ava->setX(0);\
ava->setY(0);\
avatars->push_back(ava);\