| 231 | } |
| 232 | |
| 233 | void MSG_WriteShort( msg_t *sb, int c ) { |
| 234 | #ifdef PARANOID |
| 235 | if (c < ((short)0x8000) || c > (short)0x7fff) |
| 236 | Com_Error (ERR_FATAL, "MSG_WriteShort: range error"); |
| 237 | #endif |
| 238 | |
| 239 | MSG_WriteBits( sb, c, 16 ); |
| 240 | } |
| 241 | |
| 242 | static void MSG_WriteSShort( msg_t *sb, int c ) { |
| 243 | MSG_WriteBits( sb, c, -16 ); |
no test coverage detected