]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cgamevm.c
PROTOCOL_DARKPLACES5
[xonotic/darkplaces.git] / cgamevm.c
index 31881975a89f2c41eb1d42c34494e85b2eac3323..277c7eb0c2a07b7d2a83b609deb85dc2e7cbafba 100644 (file)
--- a/cgamevm.c
+++ b/cgamevm.c
@@ -87,7 +87,7 @@ unsigned char CGVM_MSG_ReadByte(void)
 
 short CGVM_MSG_ReadShort(void)
 {
-       int num;
+       short num;
        num = CGVM_MSG_ReadByte() | (CGVM_MSG_ReadByte() << 8);
        return num;
 }