mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-03 14:11:10 +00:00
Small fixes
This commit is contained in:
parent
62ab169fcb
commit
6e4da0ce6f
3 changed files with 3 additions and 2 deletions
|
@ -166,6 +166,7 @@ static void djui_panel_player_edit_palette_create(struct DjuiBase* caller) {
|
||||||
}
|
}
|
||||||
|
|
||||||
djui_panel_add(caller, panel, NULL);
|
djui_panel_add(caller, panel, NULL);
|
||||||
|
gDjuiPanelPlayerCreated = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool djui_panel_player_name_valid(char* buffer) {
|
static bool djui_panel_player_name_valid(char* buffer) {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#endif
|
#endif
|
||||||
#include "pc/lua/smlua.h"
|
#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
|
#ifdef DISCORD_SDK
|
||||||
static char sDiscordId[64] = "";
|
static char sDiscordId[64] = "";
|
||||||
if (localIndex == 0) {
|
if (localIndex == 0) {
|
||||||
|
|
|
@ -701,7 +701,7 @@ void network_shutdown(bool sendLeaving, bool exiting, bool popup, bool reconnect
|
||||||
gOverrideAllowToxicGasCamera = FALSE;
|
gOverrideAllowToxicGasCamera = FALSE;
|
||||||
gNoteFreqScale = 1.0f;
|
gNoteFreqScale = 1.0f;
|
||||||
|
|
||||||
struct Controller* cnt = gMarioStates[0].controller;
|
struct Controller* cnt = gPlayer1Controller;
|
||||||
cnt->rawStickX = 0;
|
cnt->rawStickX = 0;
|
||||||
cnt->rawStickY = 0;
|
cnt->rawStickY = 0;
|
||||||
cnt->stickX = 0;
|
cnt->stickX = 0;
|
||||||
|
|
Loading…
Reference in a new issue