Revert ""kill" seenames"

This reverts commit 93a1a432d7.
This commit is contained in:
Alug committed 2025-02-05 15:33:27 +01:00
1 parent f67815b0d3
commit 0d2a1bac36
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -263,8 +263,8 @@ consvar_t cv_competitionboxes = {"competitionboxes", "Random", CV_NETVAR|CV_CHEA
#ifdef SEENAMES
static CV_PossibleValue_t seenames_cons_t[] = {{0, "Off"}, {1, "Colorless"}, {2, "Team"}, {3, "Ally/Foe"}, {0, NULL}};
consvar_t cv_seenames = {"seenames", "Off", CV_SAVE, seenames_cons_t, 0, 0, NULL, NULL, 0, 0, NULL};
consvar_t cv_allowseenames = {"allowseenames", "No", CV_NETVAR, CV_YesNo, NULL, 0, NULL, NULL, 0, 0, NULL};
#endif
consvar_t cv_allowseenames = {"allowseenames", "No", CV_NETVAR, CV_YesNo, NULL, 0, NULL, NULL, 0, 0, NULL}; // bruh
// these are just meant to be saved to the config
consvar_t cv_playername = {"name", "Sonic", CV_SAVE|CV_CALL|CV_NOINIT, NULL, Name_OnChange, 0, NULL, NULL, 0, 0, NULL};
@@ -775,9 +775,9 @@ void D_RegisterServerCommands(void)
CV_RegisterVar(&cv_showping);
CV_RegisterVar(&cv_pingmeasurement);
//#ifdef SEENAMES // bruh again
#ifdef SEENAMES
CV_RegisterVar(&cv_allowseenames);
//#endif
#endif
CV_RegisterVar(&cv_dummyconsvar);
+1 -1
View File
@@ -606,7 +606,7 @@ extern const char *compdate, *comptime, *comprevision, *compbranch;
//#define DUMPCONSISTENCY
/// See name of player in your crosshair
//#define SEENAMES
#define SEENAMES
/// Allow loading of savegames between different versions of the game.
/// \note XMOD port.