mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
and some more
This commit is contained in:
parent
ba6e3c69cd
commit
22caa5b4c4
1 changed files with 2 additions and 2 deletions
|
@ -143,7 +143,7 @@ qboolean
|
|||
VCR_CanSendMessage (qsocket_t * sock)
|
||||
{
|
||||
qboolean ret;
|
||||
long *driverdata = (long *) &sock->driverdata;
|
||||
long *driverdata = (long *) (char *) &sock->driverdata;
|
||||
|
||||
if (host_time != next.time || next.op != VCR_OP_CANSENDMESSAGE
|
||||
|| next.session != *driverdata)
|
||||
|
@ -191,7 +191,7 @@ VCR_CheckNewConnections (void)
|
|||
}
|
||||
|
||||
sock = NET_NewQSocket ();
|
||||
driverdata = (long *) &sock->driverdata;
|
||||
driverdata = (long *) (char *) &sock->driverdata;
|
||||
*driverdata = next.session;
|
||||
|
||||
Qread (vcrFile, sock->address, NET_NAMELEN);
|
||||
|
|
Loading…
Reference in a new issue