update PlayerVisualConfigV4 struct to match client implementation
This commit is contained in:
@@ -972,7 +972,8 @@ asio::awaitable<std::deque<std::string>> fn_chat(ShellCommand::Args& args) {
|
||||
auto l = c->require_lobby();
|
||||
for (auto& lc : l->clients) {
|
||||
if (lc) {
|
||||
send_chat_message(lc, c->login->account->account_id, c->character_file()->disp.name.decode(c->language()), text, 0);
|
||||
send_chat_message(
|
||||
lc, c->login->account->account_id, c->character_file()->disp.visual.name.decode(c->language()), text, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1006,7 +1007,11 @@ asio::awaitable<std::deque<std::string>> fn_wchat(ShellCommand::Args& args) {
|
||||
for (auto& lc : l->clients) {
|
||||
if (lc) {
|
||||
send_chat_message(
|
||||
lc, c->login->account->account_id, c->character_file()->disp.name.decode(c->language()), args.args, 0x40);
|
||||
lc,
|
||||
c->login->account->account_id,
|
||||
c->character_file()->disp.visual.name.decode(c->language()),
|
||||
args.args,
|
||||
0x40);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user