fix saturn packet going the wrong way
This commit is contained in:
1 parent
550871f576
commit
01c1ae42a1
1 file changed
+3
-2
+3
-2
@@ -4759,7 +4759,6 @@ static void HandleConnect(SINT8 node)
|
||||
#ifdef JOININGAME
|
||||
if (nodewaiting[node])
|
||||
{
|
||||
SendSaturnInfo(node);
|
||||
if (node && newnode)
|
||||
{
|
||||
SV_SendSaveGame(node, false); // send a complete game state
|
||||
@@ -5057,6 +5056,8 @@ static void HandlePacketFromAwayNode(SINT8 node)
|
||||
#endif
|
||||
DEBFILE(va("Server accept join gametic=%u mynode=%d\n", gametic, mynode));
|
||||
|
||||
SendSaturnInfo(node);
|
||||
|
||||
memset(playeringame, 0, sizeof(playeringame));
|
||||
for (j = 0; j < MAXPLAYERS; j++)
|
||||
{
|
||||
@@ -5643,7 +5644,7 @@ static void HandlePacketFromPlayer(SINT8 node)
|
||||
Got_Filetxpak();
|
||||
break;
|
||||
case PT_ISSATURN:
|
||||
CONS_Printf("hi im on saturn\n");
|
||||
//CONS_Printf("hi im on saturn\n");
|
||||
is_client_saturn[node] = true;
|
||||
break;
|
||||
case PT_CANRECEIVEGAMESTATE:
|
||||
|
||||
Reference in new issue
Block a user