1
0
Fork 0
forked from fte/fteqw

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

View file

@ -845,6 +845,7 @@ void M_Menu_GameOptions_f (void)
void M_Menu_Teamplay_f (void) void M_Menu_Teamplay_f (void)
{ {
#ifdef QWSKINS
static const char *noskinsoptions[] = static const char *noskinsoptions[] =
{ {
"Enabled", "Enabled",
@ -859,6 +860,7 @@ void M_Menu_Teamplay_f (void)
"2", "2",
NULL NULL
}; };
#endif
extern cvar_t cl_parseSay, cl_triggers, tp_forceTriggers, tp_loadlocs, cl_parseFunChars, cl_noblink, noskins; extern cvar_t cl_parseSay, cl_triggers, tp_forceTriggers, tp_loadlocs, cl_parseFunChars, cl_noblink, noskins;
int y; int y;
@ -866,7 +868,9 @@ void M_Menu_Teamplay_f (void)
{ {
MB_REDTEXT("Teamplay Options", true), MB_REDTEXT("Teamplay Options", true),
MB_TEXT("^Ue080^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue081^Ue082", 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."), 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("Enemy Skin", "cl_enemyskin", "Override enemy skin with this."),
MB_EDITCVARTIP("Team Skin", "cl_teamskin", "Override teammate 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"), MB_EDITCVARTIP("Fake Name", "cl_fakename", "Name that appears in teamplay messages"),