Hier war es keine gute idee die PARANOID checks zwingend

zu machen. Also raus damit.
This commit is contained in:
Yamagi Burmeister 2009-03-04 08:54:06 +00:00
parent 2ab3f2d12c
commit fc95927daa

View file

@ -311,9 +311,6 @@ void MSG_WriteChar (sizebuf_t *sb, int c)
{
byte *buf;
if (c < -128 || c > 127)
Com_Error (ERR_FATAL, "MSG_WriteChar: range error");
buf = SZ_GetSpace (sb, 1);
buf[0] = c;
}
@ -322,9 +319,6 @@ void MSG_WriteByte (sizebuf_t *sb, int c)
{
byte *buf;
if (c < 0 || c > 255)
Com_Error (ERR_FATAL, "MSG_WriteByte: range error");
buf = SZ_GetSpace (sb, 1);
buf[0] = c;
}
@ -332,9 +326,6 @@ void MSG_WriteByte (sizebuf_t *sb, int c)
void MSG_WriteShort (sizebuf_t *sb, int c)
{
byte *buf;
if (c < ((short)0x8000) || c > (short)0x7fff)
Com_Error (ERR_FATAL, "MSG_WriteShort: range error");
buf = SZ_GetSpace (sb, 2);
buf[0] = c&0xff;