FIX: Build with LINK_WIRELESS_TWO_PLAYERS_ONLY

This commit is contained in:
Rodrigo Alfonso
2024-08-26 03:49:56 -03:00
parent 4f3e94d244
commit 27285658c3

View File

@@ -1467,8 +1467,9 @@ class LinkWireless {
header.playerId = playerId;
#ifdef LINK_WIRELESS_TWO_PLAYERS_ONLY
header.quickData = QUICK_SEND;
#endif
#else
header.clientCount = sessionState.playerCount - LINK_WIRELESS_MIN_PLAYERS;
#endif
header.dataChecksum = dataChecksum;
MessageHeaderSerializer serializer;