mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-18 02:50:33 +00:00
engine: fix some signed char cases
This commit is contained in:
parent
09d647182d
commit
a547526e86
@ -386,7 +386,7 @@ qboolean MSG_WriteString( sizebuf_t *sb, const char *pStr )
|
|||||||
{
|
{
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
MSG_WriteChar( sb, *pStr );
|
MSG_WriteChar( sb, (signed char)*pStr );
|
||||||
pStr++;
|
pStr++;
|
||||||
} while( *( pStr - 1 ));
|
} while( *( pStr - 1 ));
|
||||||
}
|
}
|
||||||
|
@ -2729,7 +2729,7 @@ pfnWriteChar
|
|||||||
*/
|
*/
|
||||||
void GAME_EXPORT pfnWriteChar( int iValue )
|
void GAME_EXPORT pfnWriteChar( int iValue )
|
||||||
{
|
{
|
||||||
MSG_WriteChar( &sv.multicast, (char)iValue );
|
MSG_WriteChar( &sv.multicast, (signed char)iValue );
|
||||||
svgame.msg_realsize++;
|
svgame.msg_realsize++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user