summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/tabs/socialplayerstab.h4
-rw-r--r--src/gui/windows/chatwindow.cpp2
2 files changed, 4 insertions, 2 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())
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index 4d822afc1..1a36f7a83 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -1385,7 +1385,7 @@ void ChatWindow::autoComplete()
if (newName.empty() && actorManager)
{
- actorManager->getPlayerNames(nameList, true);
+ actorManager->getPlayerNames(nameList, NpcNames_true);
newName = autoComplete(nameList, name);
if (!newName.empty() && !startName)
secureChatCommand(newName);