mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[raknet] Match BitStream::Write(...)
This commit is contained in:
parent
22913217e6
commit
3fc0a1ed5d
@ -164,7 +164,7 @@ void BitStream::Reset( void )
|
||||
// Write an array or casted stream
|
||||
void BitStream::Write( const char* input, const int numberOfBytes )
|
||||
{
|
||||
if (numberOfBytes==0)
|
||||
if (numberOfBytes==0 || input==0)
|
||||
return;
|
||||
|
||||
// Optimization:
|
||||
|
Loading…
Reference in New Issue
Block a user