mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-01 01:25:38 +03:00
Fixed MSG_WriteBitString (bug with non-ASCII chars) (#150)
This commit is contained in:
parent
b25b18dfb4
commit
22507f6b8a
@ -674,7 +674,11 @@ void MSG_WriteSBits(int data, int numbits)
|
||||
|
||||
void MSG_WriteBitString(const char *p)
|
||||
{
|
||||
#ifdef REHLDS_FIXES
|
||||
const uint8_t *pch = (uint8_t *)p;
|
||||
#else // REHLDS_FIXES
|
||||
char *pch = (char *)p;
|
||||
#endif // REHLDS_FIXES
|
||||
|
||||
while (*pch)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user