shithub: choc

Download patch

ref: de979570b694ba56b7196a4fe339ff7292fe8fe5
parent: cc5babf023ba1e3c859d5116eb8b98a32436cfd2
author: Simon Howard <[email protected]>
date: Sun Dec 17 15:57:36 EST 2006

Make numbers in the chat macros configuration screen match the keyboard
keys used to activate them.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 785

--- a/setup/multiplayer.c
+++ b/setup/multiplayer.c
@@ -513,7 +513,7 @@
 
         TXT_AddWidgets(table,
                        label,
-                       TXT_NewInputBox(&chat_macros[i], 40),
+                       TXT_NewInputBox(&chat_macros[(i + 1) % 10], 40),
                        NULL);
     }