forked from fte/fteqw
1
0
Fork 0

Multiplayer menu should not poke skins when QWSKINS isn't set

This commit is contained in:
Marco Cawthorne 2024-08-26 16:15:04 -07:00
parent 29f442a325
commit 9a453bed2f
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 4 additions and 0 deletions

View File

@ -845,6 +845,7 @@ void M_Menu_GameOptions_f (void)
void M_Menu_Teamplay_f (void)
{
#ifdef QWSKINS
static const char *noskinsoptions[] =
{
"Enabled",
@ -859,6 +860,7 @@ void M_Menu_Teamplay_f (void)
"2",
NULL
};
#endif
extern cvar_t cl_parseSay, cl_triggers, tp_forceTriggers, tp_loadlocs, cl_parseFunChars, cl_noblink, noskins;
int y;
@ -866,7 +868,9 @@ void M_Menu_Teamplay_f (void)
{
MB_REDTEXT("Teamplay Options", true),
MB_TEXT("^Ue080^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue082", true),
#ifdef QWSKINS
MB_COMBOCVAR("Skins", noskins, noskinsoptions, noskinsvalues, "Enable or disable player skin usage. No download will use skins but will not download them from the server."),
#endif
MB_EDITCVARTIP("Enemy Skin", "cl_enemyskin", "Override enemy skin with this."),
MB_EDITCVARTIP("Team Skin", "cl_teamskin", "Override teammate skin with this."),
MB_EDITCVARTIP("Fake Name", "cl_fakename", "Name that appears in teamplay messages"),