static void (*cgvm_networkcode[256])(unsigned char num);
-static byte *cgvm_netbuffer;
+static qbyte *cgvm_netbuffer;
static int cgvm_netbufferlength;
static int cgvm_netbufferpos;
CG_Init(); // API call
}
-void CL_CGVM_ParseNetwork(byte *netbuffer, int length)
+void CL_CGVM_ParseNetwork(qbyte *netbuffer, int length)
{
int num;
cgvm_netbuffer = netbuffer;
{
num = CGVM_MSG_ReadByte();
if (cgvm_networkcode[num])
- cgvm_networkcode[num]((byte)num);
+ cgvm_networkcode[num]((qbyte)num);
else
Host_Error("CL_CGVM_ParseNetwork: unregistered network code %i", num);
}