Skip to content

Fix/mop group marker context 18414 - #8

Closed
MadMaxMangos wants to merge 2 commits into
masterfrom
fix/mop-group-marker-context-18414
Closed

Fix/mop group marker context 18414#8
MadMaxMangos wants to merge 2 commits into
masterfrom
fix/mop-group-marker-context-18414

Conversation

@MadMaxMangos

@MadMaxMangos MadMaxMangos commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

This change is Reviewable

MadMaxMangos and others added 2 commits July 21, 2026 23:30
mangos-four restored 5.4.8 raid markers, giving Group::SetTargetIcon a fourth
`uint8 context` parameter (id, whoGuid, targetGuid, context). The Lua binding
still called the pre-MoP 3-arg overload, breaking the mangos-four build
(error C2660: SetTargetIcon does not take 3 arguments).

Add a mangos-MISTS arm passing context 0 (a normal target-icon set, matching
GroupHandler's default path). Classic/TBC (2-arg) and WotLK/Cata (3-arg) arms
are unchanged, so the shared Eluna keeps building for every core.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9a88d15a03

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

#elif defined(ELUNA_MANGOS) && ELUNA_EXPANSION == EXP_MISTS
// MoP (mangos-four) restored raid markers with a fourth "context" argument on
// Group::SetTargetIcon; 0 selects a normal target-icon set (see GroupHandler).
group->SetTargetIcon(icon, setter, target, 0);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep MoP SetTargetIcon at three arguments

When building against the mangos-four 0.17 / 18414 core, Group::SetTargetIcon is declared and called by GroupHandler with three parameters (uint8, ObjectGuid, ObjectGuid), so this MoP-only four-argument call has no matching overload and prevents the supported MoP target from compiling. Please keep the MoP branch on the existing (icon, setter, target) call unless it is guarded for a core revision that actually has the context parameter.

Useful? React with 👍 / 👎.

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.

1 participant