mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-25 05:48:03 -04:00
fix chat in netgame (#487)
This commit is contained in:
parent
9799ef65cd
commit
ab012da79d
@ -1864,8 +1864,6 @@ char HU_dequeueChatChar(void)
|
||||
// Passed the event to respond to, returns true if the event was handled
|
||||
//
|
||||
|
||||
#define CHAT_ENTER -1
|
||||
|
||||
boolean HU_Responder(event_t *ev)
|
||||
{
|
||||
static char lastmessage[HU_MAXLINELENGTH+1];
|
||||
@ -1994,7 +1992,7 @@ boolean HU_Responder(event_t *ev)
|
||||
{
|
||||
if (M_InputActivated(input_chat_enter))
|
||||
{
|
||||
c = CHAT_ENTER;
|
||||
c = KEYD_ENTER;
|
||||
}
|
||||
|
||||
// send a macro
|
||||
@ -2028,7 +2026,7 @@ boolean HU_Responder(event_t *ev)
|
||||
if (eatkey)
|
||||
HU_queueChatChar(c);
|
||||
|
||||
if (c == CHAT_ENTER) // phares
|
||||
if (c == KEYD_ENTER) // phares
|
||||
{
|
||||
chat_on = false;
|
||||
if (w_chat.l.len)
|
||||
|
Loading…
x
Reference in New Issue
Block a user