mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2025-01-13 03:56:26 +01:00
engine: common: net_chan: as we expect pfnBlockSize to be always set, use it to determine if netchan was initialized or not
This commit is contained in:
parent
d0f3a6f74b
commit
a3e26a21a7
@ -1521,6 +1521,9 @@ void Netchan_TransmitBits( netchan_t *chan, int length, byte *data )
|
||||
return;
|
||||
}
|
||||
|
||||
if( chan->pfnBlockSize == NULL ) // not initialized
|
||||
return;
|
||||
|
||||
// if the remote side dropped the last reliable message, resend it
|
||||
send_reliable = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user