From 3c9748d2a7b70a07a2994dac6e689cd219f07caf Mon Sep 17 00:00:00 2001 From: ouned Date: Fri, 14 Aug 2015 14:52:14 +0200 Subject: [PATCH] changed Sys_QueEvent overflow message to use Com_DPrintf --- src/sys/sys_main.cpp | 2 +- src/win32/win_clmain.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sys/sys_main.cpp b/src/sys/sys_main.cpp index 7529cd56..761c44c0 100644 --- a/src/sys/sys_main.cpp +++ b/src/sys/sys_main.cpp @@ -106,7 +106,7 @@ void Sys_QueEvent(int time, sysEventType_t type, int value, int value2, int ptrL ev = &eventQue[eventHead & MASK_QUED_EVENTS]; if (eventHead - eventTail >= MAX_QUED_EVENTS) { - Com_Printf("Sys_QueEvent: overflow (event type %i)\n", type); + Com_DPrintf("Sys_QueEvent: overflow (event type %i)\n", type); // we are discarding an event, but don't leak memory if (ev->evPtr) { Z_Free(ev->evPtr); diff --git a/src/win32/win_clmain.cpp b/src/win32/win_clmain.cpp index 9857ba67..cf5a2af3 100644 --- a/src/win32/win_clmain.cpp +++ b/src/win32/win_clmain.cpp @@ -498,7 +498,7 @@ void Sys_QueEvent(int time, sysEventType_t type, int value, int value2, int ptrL ev = &eventQue[eventHead & MASK_QUED_EVENTS]; if (eventHead - eventTail >= MAX_QUED_EVENTS) { - Com_Printf("Sys_QueEvent: overflow\n"); + Com_DPrintf("Sys_QueEvent: overflow\n"); // we are discarding an event, but don't leak memory if (ev->evPtr) { Z_Free(ev->evPtr);