aboutsummaryrefslogtreecommitdiff
path: root/src/packet_distribution.cpp
diff options
context:
space:
mode:
authorCrystalwarrior <Varsash@Gmail.com>2022-07-31 19:33:10 +0300
committerGitHub <noreply@github.com>2022-07-31 11:33:10 -0500
commitdd8eee7eede02b71b86864b533eed4102f0c584e (patch)
tree48342cbaf1e1c94212d33342bb8ae33900566773 /src/packet_distribution.cpp
parent4124a43674bdd9e85a55114158a725f61e139962 (diff)
Pending ghost messages (#736)
This feature allows text to be posted to the IC log as a "ghost" before it has been displayed in-game. When desync chat is enabled, it's common for the player to wait a little while before their messages are displayed. Ghosts only apply to the active player's messages, not all queued messages. They are also pinned at the end of the IC log until they are displayed. Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com> Co-authored-by: stonedDiscord <Tukz@gmx.de>
Diffstat (limited to 'src/packet_distribution.cpp')
-rw-r--r--src/packet_distribution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp
index 3555e21b..4784faf5 100644
--- a/src/packet_distribution.cpp
+++ b/src/packet_distribution.cpp
@@ -68,7 +68,7 @@ void AOApplication::server_packet_received(AOPacket *p_packet)
if (f_contents.size() < 2)
goto end;
- s_pv = f_contents.at(0).toInt();
+ client_id = f_contents.at(0).toInt();
server_software = f_contents.at(1);
if (lobby_constructed)