Small fixes

This commit is contained in:
Agent X 2024-03-10 19:09:19 -04:00
parent 62ab169fcb
commit 6e4da0ce6f
3 changed files with 3 additions and 2 deletions

View File

@ -166,6 +166,7 @@ static void djui_panel_player_edit_palette_create(struct DjuiBase* caller) {
}
djui_panel_add(caller, panel, NULL);
gDjuiPanelPlayerCreated = true;
}
static bool djui_panel_player_name_valid(char* buffer) {

View File

@ -5,7 +5,7 @@
#endif
#include "pc/lua/smlua.h"
char* network_discord_id_from_local_index(u8 localIndex) {
char* network_discord_id_from_local_index(UNUSED u8 localIndex) {
#ifdef DISCORD_SDK
static char sDiscordId[64] = "";
if (localIndex == 0) {

View File

@ -701,7 +701,7 @@ void network_shutdown(bool sendLeaving, bool exiting, bool popup, bool reconnect
gOverrideAllowToxicGasCamera = FALSE;
gNoteFreqScale = 1.0f;
struct Controller* cnt = gMarioStates[0].controller;
struct Controller* cnt = gPlayer1Controller;
cnt->rawStickX = 0;
cnt->rawStickY = 0;
cnt->stickX = 0;