summaryrefslogtreecommitdiff
path: root/src/heretic/ct_chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic/ct_chat.c')
-rw-r--r--src/heretic/ct_chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/ct_chat.c b/src/heretic/ct_chat.c
index 94e92471..73a43fc1 100644
--- a/src/heretic/ct_chat.c
+++ b/src/heretic/ct_chat.c
@@ -387,7 +387,7 @@ void CT_Drawer(void)
void CT_queueChatChar(char ch)
{
- if ((tail + 1) & (QUEUESIZE - 1) == head)
+ if (((tail + 1) & (QUEUESIZE - 1)) == head)
{ // the queue is full
return;
}