mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-07-18 17:38:12 +08:00
[raknet] Match BitStream::Write(...)
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user