mirror of
				https://github.com/coop-deluxe/sm64coopdx.git
				synced 2025-10-30 08:01:01 +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);
 | 
			
		||||
    gDjuiPanelPlayerCreated = true;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static bool djui_panel_player_name_valid(char* buffer) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue