Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notify the client about NPC speechbubble update #4464

Merged
merged 2 commits into from
May 29, 2023

Conversation

MillhioreBT
Copy link
Contributor

Pull Request Prelude

  • I have followed [proper The Forgotten Server code styling][code].
  • I have read and understood the [contribution guidelines][cont] before making this PR.
  • I am aware that this PR may be closed if the above-mentioned criteria are not fulfilled.

Changes Proposed

Follow-up of PR #4058

Issues addressed: #4463

@EPuncker EPuncker linked an issue May 29, 2023 that may be closed by this pull request
@EPuncker EPuncker merged commit 25561a4 into otland:master May 29, 2023
18 checks passed
@MillhioreBT MillhioreBT deleted the npc_fix branch May 29, 2023 16:38
@@ -4971,6 +4971,17 @@ void Game::updateCreatureWalkthrough(const Creature* creature)
}
}

void Game::updateKnownCreature(const Creature* creature)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sounds a bit misleading, as it is not a known creature, this just sends an update of a creature to spectators. Known creatures are cached and may not be in spectator-range of a player. See the comment I've left in Monster::setName.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

notify the client about NPC speechbubble update
4 participants