]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/vore.qc
Show a no swallow indicator when the entity is a player you could normally swallow...
[voretournament/voretournament.git] / data / qcsrc / server / vore.qc
index d675f5d5bf8b866c7beb21f9b54d597a44693566..8a9dc2fb76b0e792110399ab3b76ddb894f438b0 100644 (file)
@@ -547,6 +547,8 @@ void Vore()
                if(self.BUTTON_ATCK)\r
                        Vore_Swallow(prey);\r
        }\r
+       else if(prey != world)\r
+               self.stat_canswallow = -1;\r
 \r
        // toggle digestion, if the player has someone in their stomach\r
        if(self.BUTTON_DIGEST && cvar("g_vore_digestion"))\r