summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index fd7f51368..53f8c5a6e 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -29,6 +29,7 @@
#include "being/playerinfo.h"
#include "being/playerrelations.h"
+#include "gui/sdlinput.h"
#include "gui/viewport.h"
#include "gui/widgets/tabs/chat/chattab.h"
@@ -2000,6 +2001,11 @@ void ActorManager::addChar(const int32_t id,
const std::string &name)
{
mChars[id] = name;
+
+ if (!guiInput)
+ return;
+
+ guiInput->simulateMouseMove();
}
#endif