From 74295638e3701f1df2d23cf3f5609e2a069cba0f Mon Sep 17 00:00:00 2001 From: minenice55 Date: Mon, 5 Jan 2026 22:17:50 -0500 Subject: [PATCH] start this while I can --- src/d_player.h | 3 +++ src/g_game.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/d_player.h b/src/d_player.h index 5120717b4..15a2c52b1 100644 --- a/src/d_player.h +++ b/src/d_player.h @@ -504,6 +504,9 @@ struct player_t UINT8 kartspeed; // Kart speed stat between 1 and 9 UINT8 kartweight; // Kart weight stat between 1 and 9 + UINT8 kartspeedrestat; // Player's wanted kart speed from restat + UINT8 kartweightrestat; // Player's wanted kart weight from restat + INT32 followerskin; // Kart: This player's follower "skin" boolean followerready; // Kart: Used to know when we can have a follower or not. (This is set on the first NameAndColor follower update) UINT16 followercolor; // Kart: Used to store the follower colour the player wishes to use diff --git a/src/g_game.c b/src/g_game.c index 875deb445..b3ff0d7ba 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -493,6 +493,9 @@ consvar_t cv_deadzonestyle[MAXSPLITSCREENPLAYERS] = { CVAR_INIT ("deadzonestyle4", "Kart", CV_SAVE, deadzonestyle_cons_t, NULL) }; +// allows players to use restat (server toggle) +consvar_t cv_restat_allow = CVAR_INIT ("restat_allow", "Yes", CV_NETVAR, CV_YesNo, NULL); + // now automatically allocated in D_RegisterClientCommands // so that it doesn't have to be updated depending on the value of MAXPLAYERS char player_names[MAXPLAYERS][MAXPLAYERNAME+1];