]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/Main.qc
Use Shorts instead of Coords, for fewer bandwidth usage. Also tweak the healthsize...
[voretournament/voretournament.git] / data / qcsrc / client / Main.qc
index 626a56c27b692c0315e7ea7b88b178d52e25faf4..6e731232c8ec3639d439858ac040af8e5e6acdcf 100644 (file)
@@ -1049,17 +1049,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_healthsize_min = ReadCoord();\r
-       g_healthsize_max = 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