From 35a94d6b49cc90a4b8bbdae1e08f9128cd646ea5 Mon Sep 17 00:00:00 2001 From: Dusk-92 Date: Wed, 2 Sep 2026 15:07:07 +0200 Subject: [PATCH] Add independent Race broadcast flag --- src/WowPresence.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/WowPresence.c b/src/WowPresence.c index 91431ec..48bcfbe 100644 --- a/src/WowPresence.c +++ b/src/WowPresence.c @@ -75,7 +75,8 @@ #define SHARE_CLASS 8u #define SHARE_LEVEL 16u #define SHARE_ZONE 32u -#define SHARE_ALL 63u +#define SHARE_RACE 64u +#define SHARE_ALL 127u static const uintptr_t kPlayerNameLocations[] = { 0x00C27FC8u, 0x00C27D88u, 0x00C27FD8u, 0 @@ -751,7 +752,8 @@ static void publish_character_snapshot(void) { collect_character_snapshot(&snapshot); mask = load_share_mask(); - race_text = snapshot.in_world ? label_for_id(kRaceLabels, snapshot.race_id) : ""; + race_text = (snapshot.in_world && (mask & SHARE_RACE)) + ? label_for_id(kRaceLabels, snapshot.race_id) : ""; class_text = (snapshot.in_world && (mask & SHARE_CLASS)) ? label_for_id(kClassLabels, snapshot.class_id) : ""; faction_text = (snapshot.in_world && (mask & SHARE_FACTION))