reserve saturn packet even if unused
to not cause any weird isssues if either one is undefined and stuff like that
This commit is contained in:
1 parent
406037dabe
commit
c9c0c06763
2 files changed
+8
-9
No files matched your search
+2
-3
@@ -99,13 +99,12 @@ typedef enum
|
||||
|
||||
PT_PING, // Packet sent to tell clients the other client's latency to server.
|
||||
|
||||
#ifdef SATURNPAK
|
||||
PT_ISSATURN,
|
||||
#endif
|
||||
#ifdef SATURNSYNCH
|
||||
PT_WILLRESENDGAMESTATE, // Hey Client, I am about to resend you the gamestate!
|
||||
PT_CANRECEIVEGAMESTATE, // Okay Server, I'm ready to receive it, you can go ahead.
|
||||
PT_RECEIVEDGAMESTATE, // Thank you Server, I am ready to play again!
|
||||
|
||||
PT_ISSATURN,
|
||||
#endif
|
||||
|
||||
NUMPACKETTYPE
|
||||
|
||||
+6
-6
@@ -832,15 +832,15 @@ const char *packettypename[NUMPACKETTYPE] =
|
||||
"TELLFILESNEEDED",
|
||||
"MOREFILESNEEDED",
|
||||
|
||||
"PING",
|
||||
|
||||
#ifdef SATURNPAK
|
||||
"ISSATURN",
|
||||
#endif
|
||||
"PING"
|
||||
#ifdef SATURNSYNCH
|
||||
,
|
||||
|
||||
"WILLRESENDGAMESTATE",
|
||||
"CANRECEIVEGAMESTATE",
|
||||
"RECEIVEDGAMESTATE"
|
||||
"RECEIVEDGAMESTATE",
|
||||
|
||||
"ISSATURN"
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user