Skip to content

Commit

Permalink
changed Sys_QueEvent overflow message to use Com_DPrintf
Browse files Browse the repository at this point in the history
  • Loading branch information
ouned committed Aug 14, 2015
1 parent 3edc756 commit 3c9748d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sys/sys_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/win32/win_clmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3c9748d

Please sign in to comment.