From 6e1e847750dc593bcb2571c9775b2db11661cdb2 Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Thu, 30 Dec 2021 20:44:59 -0600 Subject: 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. --- src/packet_distribution.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/packet_distribution.cpp') 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) -- cgit