mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
goodbye PARANOID :P
This commit is contained in:
parent
d16ab6eed0
commit
72e2e871f8
1 changed files with 0 additions and 15 deletions
|
@ -57,11 +57,6 @@ MSG_WriteChar (sizebuf_t *sb, int c)
|
|||
{
|
||||
byte *buf;
|
||||
|
||||
#ifdef PARANOID
|
||||
if (c < -128 || c > 127)
|
||||
Sys_Error ("MSG_WriteChar: range error");
|
||||
#endif
|
||||
|
||||
buf = SZ_GetSpace (sb, 1);
|
||||
buf[0] = c;
|
||||
}
|
||||
|
@ -71,11 +66,6 @@ MSG_WriteByte (sizebuf_t *sb, int c)
|
|||
{
|
||||
byte *buf;
|
||||
|
||||
#ifdef PARANOID
|
||||
if (c < 0 || c > 255)
|
||||
Sys_Error ("MSG_WriteByte: range error");
|
||||
#endif
|
||||
|
||||
buf = SZ_GetSpace (sb, 1);
|
||||
buf[0] = c;
|
||||
}
|
||||
|
@ -85,11 +75,6 @@ MSG_WriteShort (sizebuf_t *sb, int c)
|
|||
{
|
||||
byte *buf;
|
||||
|
||||
#ifdef PARANOID
|
||||
if (c < ((short) 0x8000) || c > (short) 0x7fff)
|
||||
Sys_Error ("MSG_WriteShort: range error");
|
||||
#endif
|
||||
|
||||
buf = SZ_GetSpace (sb, 2);
|
||||
buf[0] = c & 0xff;
|
||||
buf[1] = c >> 8;
|
||||
|
|
Loading…
Reference in a new issue