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/socialplayerstab.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/socialplayerstab.h b/src/gui/widgets/tabs/socialplayerstab.h
index 324ede7c6..7fee69deb 100644
--- a/src/gui/widgets/tabs/socialplayerstab.h
+++ b/src/gui/widgets/tabs/socialplayerstab.h
@@ -28,6 +28,8 @@
#include "being/being.h"
+#include "enums/simpletypes.h"
+
#include "gui/models/beingslistmodel.h"
#include "utils/gettext.h"
@@ -147,7 +149,7 @@ class SocialPlayersTab final : public SocialTab
if (actorManager)
{
StringVect names;
- actorManager->getPlayerNames(names, false);
+ actorManager->getPlayerNames(names, NpcNames_false);
std::vector<Avatar*>::iterator ai = avatars->begin();
while (ai != avatars->end())