Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarMainInterface.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-23 20:24:40 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-23 20:24:40 +1000
commite64aabfcf1237639fa5d53ed7e02c3a6510f4a0c (patch)
treec319339d75266ecd2083d3cbfcbe972648b668e1 /source/frontend/StarMainInterface.cpp
parent01356293019e77ccaadd636b1c4d62733db419b0 (diff)
add Nametag Directives
Diffstat (limited to 'source/frontend/StarMainInterface.cpp')
-rw-r--r--source/frontend/StarMainInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarMainInterface.cpp b/source/frontend/StarMainInterface.cpp
index 4f40694..6c5dc1d 100644
--- a/source/frontend/StarMainInterface.cpp
+++ b/source/frontend/StarMainInterface.cpp
@@ -754,6 +754,7 @@ void MainInterface::update() {
m_nameplatePainter->update(m_client->worldClient(), m_worldPainter->camera(), m_client->worldClient()->interactiveHighlightMode());
m_questIndicatorPainter->update(m_client->worldClient(), m_worldPainter->camera());
+ m_chatBubbleManager->setCamera(m_worldPainter->camera());
if (auto worldClient = m_client->worldClient()) {
auto chatActions = worldClient->pullPendingChatActions();
auto portraitActions = chatActions.filtered([](ChatAction action) { return action.is<PortraitChatAction>(); });
@@ -778,7 +779,6 @@ void MainInterface::update() {
m_chatBubbleManager->addChatActions(chatActions);
m_chatBubbleManager->update(worldClient);
}
- m_chatBubbleManager->setCamera(m_worldPainter->camera());
if (auto container = m_client->worldClient()->get<ContainerEntity>(m_containerInteractor->openContainerId())) {
if (!m_client->worldClient()->playerCanReachEntity(container->entityId())