[quake3-commits] r2299 - trunk/code/game
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Thu Jul 5 09:42:08 EDT 2012
Author: ztm
Date: 2012-07-05 09:42:08 -0400 (Thu, 05 Jul 2012)
New Revision: 2299
Modified:
trunk/code/game/g_client.c
Log:
Fixed G_LogPrintf format warning on 64 bit systems added in r2294.
Modified: trunk/code/game/g_client.c
===================================================================
--- trunk/code/game/g_client.c 2012-07-05 13:33:55 UTC (rev 2298)
+++ trunk/code/game/g_client.c 2012-07-05 13:42:08 UTC (rev 2299)
@@ -942,9 +942,9 @@
}
// if a player reconnects quickly after a disconnect, the client disconnect may never be called, thus flag can get lost in the ether
if (ent->inuse) {
- G_LogPrintf("Forcing disconnect on active client: %i\n", ent-g_entities);
+ G_LogPrintf("Forcing disconnect on active client: %i\n", clientNum);
// so lets just fix up anything that should happen on a disconnect
- ClientDisconnect(ent-g_entities);
+ ClientDisconnect(clientNum);
}
// they can connect
ent->client = level.clients + clientNum;
More information about the quake3-commits
mailing list