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

Fixes to itemlink and fixes/improvements to CI #3238

Merged
merged 7 commits into from
Oct 20, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/map/clif.c
Original file line number Diff line number Diff line change
Expand Up @@ -25993,12 +25993,12 @@ static void clif_format_itemlink(StringBuf *buf, const struct item *it)
#if PACKETVER >= 20161116
static const char view_sep = '&';
#endif
#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
guilherme-gm marked this conversation as resolved.
Show resolved Hide resolved
static const char grade_sep = '\'';
#endif

// Separators that were updated along the time
#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
static const char *tag_name = "ITEML";
static const char card_sep = ')';
static const char optid_sep = '+';
Expand Down Expand Up @@ -26043,7 +26043,7 @@ static void clif_format_itemlink(StringBuf *buf, const struct item *it)
StrBuf->Printf(buf, "%c%s", view_sep, get_padded_value(itd->view_sprite, 2));
#endif // PACKETVER >= 20161116

#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
StrBuf->Printf(buf, "%c%s", grade_sep, get_padded_value(it->grade, 2));
#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723

Expand Down