Skip to content

Commit

Permalink
Fix value of "flag" in ZC_SKILL_SELECT_REQUEST
Browse files Browse the repository at this point in the history
it should always be 1 (meaning auto shadow spell) and not the number of
skills in the list
  • Loading branch information
guilherme-gm committed Apr 29, 2024
1 parent 1eef975 commit 15710bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/clif.c
Expand Up @@ -20868,7 +20868,7 @@ static int clif_autoshadowspell_list(struct map_session_data *sd)

len = c * sizeof(*p->skillIds) + sizeof(*p);
p->packetLength = len;
p->flag = c;
p->flag = 1; // 1 = auto shadow spell

WFIFOSET(fd, len);
} else {
Expand Down

0 comments on commit 15710bc

Please sign in to comment.