Print the dpid on NET_LEAVE messages as well

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5529 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2008-07-13 17:36:29 +00:00
parent d4168f712c
commit 77f6e2e90c
1 changed files with 2 additions and 2 deletions

View File

@ -206,12 +206,12 @@ static void resetMultiVisibility(UDWORD player)
// A remote player has left the game
BOOL MultiPlayerLeave( UDWORD dp)
{
UDWORD i = 0;
unsigned int i = 0;
char buf[255];
while((player2dpid[i] != dp) && (i<MAX_PLAYERS) )i++; // find out which!
debug(LOG_NET, "Player %d is leaving", i);
debug(LOG_NET, "Player %u is leaving (dpid=%u)", i, dp);
if(i != MAX_PLAYERS) // player not already removed
{