Skip to content

Commit 8617b1d

Browse files
committed
swars: Enabled the recently remade net game init functions
1 parent 3d85f11 commit 8617b1d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/fenet.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ ubyte do_net_SET(ubyte click)
212212

213213
ubyte net_unkn_func_32(void)
214214
{
215-
#if 1
215+
#if 0
216216
ubyte ret;
217217
asm volatile ("call ASM_net_unkn_func_32\n"
218218
: "=r" (ret) : );
@@ -281,15 +281,14 @@ ubyte net_unkn_func_32(void)
281281
alert_box_text_fmt("%s", gui_strings[579]);
282282
goto out_fail;
283283
}
284-
285284
login_control__State = 5;
286285
net_host_player_no = LbNetworkHostPlayerNumber();
287286
net_players_num = LbNetworkSessionNumberPlayers();
288287
byte_15516C = -1;
289288
byte_15516D = -1;
290289
if (nsvc.I.Type != NetSvc_IPX)
291290
players[local_player_no].DoubleMode = 0;
292-
load_missions(1);
291+
load_missions(99);
293292
for (i = 0; i < 8; i++) {
294293
network_players[i].Type = 17;
295294
}
@@ -318,7 +317,7 @@ ubyte net_unkn_func_32(void)
318317

319318
ubyte net_unkn_func_31(struct TbNetworkSession *p_nsession)
320319
{
321-
#if 1
320+
#if 0
322321
ubyte ret;
323322
asm volatile ("call ASM_net_unkn_func_31\n"
324323
: "=r" (ret) : "a" (p_nsession));
@@ -390,7 +389,7 @@ ubyte net_unkn_func_31(struct TbNetworkSession *p_nsession)
390389
if (nsvc.I.Type != NetSvc_IPX) {
391390
players[local_player_no].DoubleMode = 0;
392391
}
393-
load_missions(1);
392+
load_missions(99);
394393

395394
for (i = 0; i < 8; i++) {
396395
network_players[i].Type = 17;

0 commit comments

Comments
 (0)