mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-22 16:30:23 +00:00
Fix join issue when compiling without DEBUG
This commit is contained in:
parent
7dafd081e1
commit
975c68ae1e
2 changed files with 4 additions and 4 deletions
|
@ -405,7 +405,7 @@ void keyboard_exit_join_to_network_menu(void) {
|
|||
void join_server_as_client(void) {
|
||||
if (gNetworkType != NT_NONE) { return; }
|
||||
|
||||
char delims[] = { ' ' };
|
||||
char delims[2] = " ";
|
||||
|
||||
// copy input
|
||||
char buffer[MAX_TEXT_INPUT] = { 0 };
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
extern u8 gInsidePainting;
|
||||
extern s16 sCurrPlayMode;
|
||||
|
||||
enum NetworkType gNetworkType;
|
||||
static SOCKET gSocket;
|
||||
struct sockaddr_in txAddr;
|
||||
enum NetworkType gNetworkType = NT_NONE;
|
||||
static SOCKET gSocket = NULL;
|
||||
struct sockaddr_in txAddr = { 0 };
|
||||
|
||||
#define LOADING_LEVEL_THRESHOLD 10
|
||||
u8 networkLoadingLevel = 0;
|
||||
|
|
Loading…
Reference in a new issue