]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/cl_client.qc
Rename cvar
[voretournament/voretournament.git] / data / qcsrc / server / cl_client.qc
index ae99b3632a577d3b55be5aa328c120c9a9566dae..e954308e523c636d7ef7e5437c5c73130e720f5e 100644 (file)
@@ -530,7 +530,7 @@ float Client_customizeentityforclient()
        Client_setmodel(setmodel_state());\r
        if not(self.stat_eaten || self.fakeprey)\r
                self.alpha = default_player_alpha;\r
-       else if(cvar("g_vore_preydistance") && self.predator == other.predator && self != other && !(other.cvar_chase_active || other.classname == "observer"))\r
+       else if(cvar("g_vore_neighborprey_distance") && self.predator == other.predator && self != other && !(other.cvar_chase_active || other.classname == "observer"))\r
                self.alpha = default_player_alpha; // allow seeing neighboring prey\r
        else\r
                self.alpha = -1; // hide prey\r