From: Samual Date: Tue, 1 Nov 2011 18:35:34 +0000 (-0400) Subject: Add debug print X-Git-Tag: xonotic-v0.6.0~35^2~66^2~2^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4736ab55c01b200c6b763f69e6b6dcffca12f91a;p=xonotic%2Fxonotic-data.pk3dir.git Add debug print --- diff --git a/qcsrc/client/announcer.qc b/qcsrc/client/announcer.qc index b0d43358d..4c8884ddf 100644 --- a/qcsrc/client/announcer.qc +++ b/qcsrc/client/announcer.qc @@ -11,6 +11,7 @@ void Announcer_Play(string announcement) if((announcement != previous_announcement) || (time >= (previous_announcement_time + autocvar_cl_announcer_antispam))) { sound(world, CH_INFO, strcat("announcer/", autocvar_cl_announcer, "/", announcement, ".wav"), VOL_BASEVOICE, ATTN_NONE); + print(strcat("announcement: '", announcement, "' at time: ", ftos(time), ". \n")); previous_announcement = announcement; previous_announcement_time = time;