Skip to content
Snippets Groups Projects
Commit e0176670 authored by Marco Z's avatar Marco Z
Browse files

Correct splitscreen check in OLDCHAT

parent 7e9411f3
Branches
Tags
3 merge requests!488Merge in next and don't billboard papersprites in GL,!402Update code versions to 2.1.22,!398Chat and other multiplayer quality of life improvements.
...@@ -61,7 +61,7 @@ typedef struct ...@@ -61,7 +61,7 @@ typedef struct
#ifdef NETSPLITSCREEN #ifdef NETSPLITSCREEN
#define OLDCHAT (cv_consolechat.value == 1 || dedicated || vid.width < 640) #define OLDCHAT (cv_consolechat.value == 1 || dedicated || vid.width < 640)
#else #else
#define OLDCHAT (!splitscreen && (cv_consolechat.value == 1 || dedicated || vid.width < 640)) #define OLDCHAT (cv_consolechat.value == 1 || dedicated || vid.width < 640 || splitscreen)
#endif #endif
#define CHAT_MUTE (cv_mute.value && !(server || IsPlayerAdmin(consoleplayer))) // this still allows to open the chat but not to type. That's used for scrolling and whatnot. #define CHAT_MUTE (cv_mute.value && !(server || IsPlayerAdmin(consoleplayer))) // this still allows to open the chat but not to type. That's used for scrolling and whatnot.
#define OLD_MUTE (OLDCHAT && cv_mute.value && !(server || IsPlayerAdmin(consoleplayer))) // this is used to prevent oldchat from opening when muted. #define OLD_MUTE (OLDCHAT && cv_mute.value && !(server || IsPlayerAdmin(consoleplayer))) // this is used to prevent oldchat from opening when muted.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment