MCPcopy Create free account
hub / github.com/JACoders/OpenJK / MSG_ReadSShort

Function MSG_ReadSShort

code/qcommon/msg.cpp:309–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308
309static int MSG_ReadSShort( msg_t *msg ) {
310 int c;
311
312 if ( msg->readcount+2 > msg->cursize ) {
313 c = -1;
314 } else {
315 c = MSG_ReadBits( msg, -16 );
316 }
317
318 return c;
319}
320
321int MSG_ReadLong( msg_t *msg ) {
322 int c;

Callers 1

MSG_ReadDeltaPlayerstateFunction · 0.85

Calls 1

MSG_ReadBitsFunction · 0.70

Tested by

no test coverage detected