shithub: choc

Download patch

ref: 3ecb69e19202e36faae9448d164862b7fdbda189
parent: d91383ee4057a2fc6fc2fb80144abb34273a6d7f
author: James Haley <[email protected]>
date: Sat Oct 25 12:43:03 EDT 2014

Must allow HU_CHANGENAME in chat_dest range

Verified against disassembly. Otherwise, other side does not see name
changes as anything other than a message.

--- a/src/strife/hu_stuff.c
+++ b/src/strife/hu_stuff.c
@@ -437,7 +437,7 @@
             if (i != consoleplayer
                 && (c = players[i].cmd.chatchar))
             {
-                if (c <= HU_BROADCAST)
+                if (c <= HU_CHANGENAME) // [STRIFE]: allow HU_CHANGENAME here
                     chat_dest[i] = c;
                 else
                 {