]> 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 f7b08497e608a85ca1af56dcae63ead97fc968b2..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 = ReadByte() * 10;\r
+               self.healthvalue = ReadShort();\r
        if(sf & 16)\r
-               self.armorvalue = ReadByte() * 10;\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,17 +1047,20 @@ 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
 \r
        if(!postinit)\r
                PostInit();\r