mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
c is only for chat_in
This commit is contained in:
parent
bc647657f4
commit
8502a5823f
1 changed files with 1 additions and 6 deletions
|
|
@ -1130,8 +1130,6 @@ static INT16 typelines = 1; // number of drawfill lines we need when drawing the
|
||||||
//
|
//
|
||||||
boolean HU_Responder(event_t *ev)
|
boolean HU_Responder(event_t *ev)
|
||||||
{
|
{
|
||||||
INT32 c=0;
|
|
||||||
|
|
||||||
if (ev->type != ev_keydown)
|
if (ev->type != ev_keydown)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
@ -1157,8 +1155,6 @@ boolean HU_Responder(event_t *ev)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
c = (INT32)ev->data1;
|
|
||||||
|
|
||||||
#ifndef NONET
|
#ifndef NONET
|
||||||
if (!chat_on)
|
if (!chat_on)
|
||||||
{
|
{
|
||||||
|
|
@ -1186,6 +1182,7 @@ boolean HU_Responder(event_t *ev)
|
||||||
}
|
}
|
||||||
else // if chat_on
|
else // if chat_on
|
||||||
{
|
{
|
||||||
|
INT32 c = (INT32)ev->data1;
|
||||||
|
|
||||||
// Ignore modifier keys
|
// Ignore modifier keys
|
||||||
// Note that we do this here so users can still set
|
// Note that we do this here so users can still set
|
||||||
|
|
@ -1201,8 +1198,6 @@ boolean HU_Responder(event_t *ev)
|
||||||
&& ev->data1 != gamecontrol[gc_talkkey][1]))
|
&& ev->data1 != gamecontrol[gc_talkkey][1]))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
c = (INT32)ev->data1;
|
|
||||||
|
|
||||||
// I know this looks very messy but this works. If it ain't broke, don't fix it!
|
// I know this looks very messy but this works. If it ain't broke, don't fix it!
|
||||||
// shift LETTERS to uppercase if we have capslock or are holding shift
|
// shift LETTERS to uppercase if we have capslock or are holding shift
|
||||||
if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'))
|
if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue