From ca8d0b9c9c64aa645caf337dc2258cacfe795139 Mon Sep 17 00:00:00 2001 From: MysterD Date: Sat, 26 Feb 2022 16:30:51 -0800 Subject: [PATCH] Add Amy to credits --- credits.txt | 1 + src/pc/network/packets/packet_join.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/credits.txt b/credits.txt index 978ec6ab..caef8317 100644 --- a/credits.txt +++ b/credits.txt @@ -8,6 +8,7 @@ Developers: Contributors: AloXado320 + Amy54Desu anzz1 Avery Cameron Hall diff --git a/src/pc/network/packets/packet_join.c b/src/pc/network/packets/packet_join.c index 81c4b911..ec17aee7 100644 --- a/src/pc/network/packets/packet_join.c +++ b/src/pc/network/packets/packet_join.c @@ -67,7 +67,7 @@ void network_send_join(struct Packet* joinRequestPacket) { // figure out id u8 globalIndex = joinRequestPacket->localIndex; if (globalIndex == UNKNOWN_LOCAL_INDEX) { - for (int i = 1; i < configAmountofPlayers; i++) { + for (u32 i = 1; i < configAmountofPlayers; i++) { if (!gNetworkPlayers[i].connected) { globalIndex = i; break;