]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/Main.qc
Grabber casing sounds
[voretournament/voretournament.git] / data / qcsrc / client / Main.qc
index 7686d9ec3d270677f29333ec122a9b70a23bef1a..90dce734b673441ad82db7c2dcb771a03272f977 100644 (file)
@@ -683,11 +683,9 @@ void Ent_ReadEntCS()
                self.angles_x = self.angles_z = 0;\r
        }\r
        if(sf & 8)\r
-               self.healthvalue = ReadCoord();\r
+               self.healthvalue = ReadShort();\r
        if(sf & 16)\r
-               self.armorvalue = ReadCoord();\r
-       if(sf & 32)\r
-               self.predator = ReadByte();\r
+               self.armorvalue = ReadShort();\r
 \r
        entcs_receiver[self.sv_entnum] = self;\r
        self.entremove = Ent_RemoveEntCS;\r
@@ -1049,15 +1047,17 @@ void Ent_Init()
                strunzone(forcefog);\r
        forcefog = strzone(ReadString());\r
 \r
-       g_campaign = ReadCoord();\r
+       g_campaign = ReadShort();\r
 \r
        armorblockpercent = ReadByte() / 255.0;\r
 \r
        g_weaponswitchdelay = ReadByte() / 255.0;\r
 \r
-       g_vore = ReadCoord();\r
-       g_balance_vore_swallow_limit = ReadCoord();\r
-       g_healthsize = ReadCoord();\r
+       g_vore = ReadShort();\r
+       g_balance_vore_swallow_limit = ReadShort();\r
+       g_healthsize = ReadShort();\r
+       g_healthsize_min = ReadShort();\r
+       g_healthsize_max = ReadShort();\r
 \r
        armor_max = ReadCoord();\r
        teamheal_max = ReadCoord();\r