diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2021-12-30 20:44:59 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-30 20:44:59 -0600 |
| commit | 6e1e847750dc593bcb2571c9775b2db11661cdb2 (patch) | |
| tree | d744ace687e5a603e00daae604cb1a5a35de6795 /src/packet_distribution.cpp | |
| parent | 593bd54000be14c9a1455914285c1b2549b0fa51 (diff) | |
Add and refine debug log messages (#625)
Since these are going to be visible to the user now, at least let's properly format them and make them somewhat helpful.
Diffstat (limited to 'src/packet_distribution.cpp')
| -rw-r--r-- | src/packet_distribution.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp index bc7ae826..5777821a 100644 --- a/src/packet_distribution.cpp +++ b/src/packet_distribution.cpp @@ -469,10 +469,10 @@ void AOApplication::server_packet_received(AOPacket *p_packet) goto end; if (courtroom_constructed) { - qDebug() << f_contents; - if (f_contents.size() >= - 2) // We have a pos included in the background packet! + if (f_contents.size() >= 2) { + // We have a pos included in the background packet! w_courtroom->set_side(f_contents.at(1)); + } w_courtroom->set_background(f_contents.at(0), f_contents.size() >= 2); append_to_demofile(f_packet_encoded); } @@ -645,7 +645,6 @@ void AOApplication::server_packet_received(AOPacket *p_packet) // The time as displayed on the clock, in milliseconds. // If the number received is negative, stop the timer. qint64 timer_value = f_contents.at(2).toLongLong(); - qDebug() << "timer:" << timer_value; if (timer_value > 0) { if (type == 0) |
