]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/g_world.qc
Use pow() for all scale differences, which should make them much more correct, and...
[voretournament/voretournament.git] / data / qcsrc / server / g_world.qc
index 7a065d43dc6c056c5e2b1d96d9c1ceb5e9d0f83c..ababcf9357ba377b5b54941352a20596caea085f 100644 (file)
@@ -49,7 +49,7 @@ void OtherPLReport_Think()
        WriteByte(MSG_BROADCAST, SVC_TEMPENTITY);\r
        WriteByte(MSG_BROADCAST, TE_CSQC_OTHERPLREPORT);\r
        WriteByte(MSG_BROADCAST, self.cnt);\r
-       if(e.predator.classname == "player") // tempt hackers less by only sending the info of eaten players\r
+       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
@@ -663,7 +663,10 @@ void spawnfunc_worldspawn (void)
        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
-\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
+       addstat(STAT_SBRING2_CLIP, AS_FLOAT, stat_sbring2_clip);\r
        next_pingtime = time + 5;\r
        InitializeEntity(self, cvar_changes_init, INITPRIO_CVARS);\r
 \r