mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Fixed G_LogPrintf format warning on 64 bit systems added in r2294.
This commit is contained in:
parent
2cfda4384b
commit
79bb668a9f
1 changed files with 2 additions and 2 deletions
|
@ -942,9 +942,9 @@ char *ClientConnect( int clientNum, qboolean firstTime, qboolean isBot ) {
|
|||
}
|
||||
// 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;
|
||||
|
|
Loading…
Reference in a new issue