- made player indexing consistent in i_net.cpp.

This commit is contained in:
Christoph Oelckers 2020-09-27 16:19:34 +02:00
parent baf93b51af
commit 1d863d6cab

View file

@ -163,7 +163,7 @@ uint8_t TransmitBuffer[TRANSMIT_SIZE];
FString GetPlayerName(int num)
{
if (sysCallbacks && sysCallbacks->GetPlayerName) return sysCallbacks->GetPlayerName(sendplayer[num]);
else return FStringf("Player %d", num + 1);
else return FStringf("Player %d", sendplayer[num] + 1);
}
//