File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
libnethack_client/include
libnethack_common/include Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 17
17
18
18
# include <jansson.h>
19
19
20
- # define DEFAULT_PORT 53430
21
-
22
20
extern struct nh_window_procs client_windowprocs ;
23
21
extern int current_game ;
24
22
extern jmp_buf ex_jmp_buf ;
Original file line number Diff line number Diff line change 7
7
8
8
# include "nethack_types.h"
9
9
10
+ # define DEFAULT_PORT 53430
11
+
10
12
# ifdef NETHACK_CLIENT_H_IN_LIBNETHACK_CLIENT
11
13
# define EXPORT (x ) AIMAKE_EXPORT(x)
12
14
# else
Original file line number Diff line number Diff line change @@ -714,7 +714,7 @@ netgame(void)
714
714
servlist = NULL ;
715
715
server = & localserver ;
716
716
localserver .hostname = strdup ("localhost" );
717
- localserver .port = 63463 ;
717
+ localserver .port = DEFAULT_PORT ;
718
718
if (!get_username_password (& localserver ))
719
719
goto finally ;
720
720
} else {
You can’t perform that action at this time.
0 commit comments