]> git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/g_world.qc
Don't make shrinking dead players part of the vore function (only when digested)...
[voretournament/voretournament.git] / data / qcsrc / server / g_world.qc
index ababcf9357ba377b5b54941352a20596caea085f..f0022c7b89f106c3e900177908b5ee00cfd7a659 100644 (file)
@@ -52,14 +52,14 @@ void OtherPLReport_Think()
        if(e.stat_eaten) // tempt hackers less by only sending the info of eaten players\r
        {\r
                if(cvar("g_vore_showhealth"))\r
-                       WriteByte(MSG_BROADCAST, e.health);\r
+                       WriteShort(MSG_BROADCAST, e.health); // not WriteByte because we show minus health too\r
                else\r
-                       WriteByte(MSG_BROADCAST, 0);\r
+                       WriteShort(MSG_BROADCAST, 0);\r
                WriteByte(MSG_BROADCAST, num_for_edict(e.predator));\r
        }\r
        else\r
        {\r
-               WriteByte(MSG_BROADCAST, 0);\r
+               WriteShort(MSG_BROADCAST, 0);\r
                WriteByte(MSG_BROADCAST, 0);\r
        }\r
        self.cnt = mod(self.cnt + 1, maxclients);\r
@@ -659,10 +659,12 @@ void spawnfunc_worldspawn (void)
        addstat(STAT_LAST_PICKUP, AS_FLOAT, last_pickup);\r
        addstat(STAT_WINNING, AS_FLOAT, winning);\r
        addstat(STAT_VORE_LOAD, AS_INT, stat_stomachload);\r
+       addstat(STAT_VORE_MAXLOAD, AS_INT, stomach_maxload);\r
        addstat(STAT_VORE_CANSWALLOW, AS_INT, stat_canswallow);\r
        addstat(STAT_VORE_DIGESTING, AS_INT, stat_digesting);\r
        addstat(STAT_VORE_EATEN, AS_INT, stat_eaten);\r
        addstat(STAT_VORE_CANLEAVE, AS_INT, stat_canleave);\r
+       addstat(STAT_CROSSHAIR_STYLE, AS_INT, stat_crosshair_style);\r
        addstat(STAT_SBRING1_TYPE, AS_INT, stat_sbring1_type);\r
        addstat(STAT_SBRING1_CLIP, AS_FLOAT, stat_sbring1_clip);\r
        addstat(STAT_SBRING2_TYPE, AS_INT, stat_sbring2_type);\r