mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-21 11:21:04 +00:00
- made player indexing consistent in i_net.cpp.
This commit is contained in:
parent
baf93b51af
commit
1d863d6cab
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ uint8_t TransmitBuffer[TRANSMIT_SIZE];
|
||||||
FString GetPlayerName(int num)
|
FString GetPlayerName(int num)
|
||||||
{
|
{
|
||||||
if (sysCallbacks && sysCallbacks->GetPlayerName) return sysCallbacks->GetPlayerName(sendplayer[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);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue