Print player number in NQ "test" function

Just resolving "variable unused" warning - we collect the data, may as
well print it out with the rest.
This commit is contained in:
Tyrann 2011-12-31 07:41:45 +10:00
parent 41386415a4
commit 1ea83a6ee7

View File

@ -515,9 +515,9 @@ Test_Poll(struct test_poll_state *state)
connectTime = MSG_ReadLong();
strcpy(address, MSG_ReadString());
Con_Printf("%s\n frags:%3i colors:%u %u time:%u\n %s\n", name,
frags, colors >> 4, colors & 0x0f, connectTime / 60,
address);
Con_Printf("%s (%d)\n frags:%3i colors:%u %u time:%u\n %s\n",
name, (int)playerNumber, frags, colors >> 4, colors & 0x0f,
connectTime / 60, address);
}
state->pollCount--;