engine: fix some signed char cases
This commit is contained in:
parent
09d647182d
commit
a547526e86
2 changed files with 2 additions and 2 deletions
|
@ -386,7 +386,7 @@ qboolean MSG_WriteString( sizebuf_t *sb, const char *pStr )
|
|||
{
|
||||
do
|
||||
{
|
||||
MSG_WriteChar( sb, *pStr );
|
||||
MSG_WriteChar( sb, (signed char)*pStr );
|
||||
pStr++;
|
||||
} while( *( pStr - 1 ));
|
||||
}
|
||||
|
|
|
@ -2729,7 +2729,7 @@ pfnWriteChar
|
|||
*/
|
||||
void GAME_EXPORT pfnWriteChar( int iValue )
|
||||
{
|
||||
MSG_WriteChar( &sv.multicast, (char)iValue );
|
||||
MSG_WriteChar( &sv.multicast, (signed char)iValue );
|
||||
svgame.msg_realsize++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue