]> git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Undo part of a previous commit, which broke automatic digestion. Need to do something...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 18 Mar 2012 15:03:26 +0000 (17:03 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 18 Mar 2012 15:03:26 +0000 (17:03 +0200)
data/qcsrc/server/vore.qc
docs/TODO.txt

index e26b6a62d253c9de90b9dc039fe8a0a22e6b643f..b32c2d6dbcd000aa54f7fee6202a1e3281dc2c9f 100644 (file)
@@ -159,6 +159,8 @@ void Vore_AutoDigest(entity e)
                return;\r
        if(g_rpg)\r
                return; // RPG is choice based, so don't do things automatically there\r
+       if(e.stomach_load)\r
+               return; // don't start digestion if we already ate someone, as that means we manually disabled it after the first prey and want it off\r
        if(clienttype(e) != CLIENTTYPE_REAL)\r
                return; // this feature is only for players, not bots\r
        if(Stomach_TeamMates_check(e))\r
index 25d138d0f8955b59c3ce8f3f676db1536eaeb9c6..79528ec8b31a183c1a5e02eff65ba457cee17f53 100644 (file)
 \r
 - 0.7 | 0.8: Is it right to get screen flashes when team healing?\r
 \r
-- 0.8: Why am I not seeing frags and death in the scoreboard in Team Deathmatch?
\ No newline at end of file
+- 0.8: Why am I not seeing frags and death in the scoreboard in Team Deathmatch?\r
+\r
+- 0.8: If we eat a team mate, then a consumable item, then the tea mate gets out, autodigest won't start digesting the consumable item
\ No newline at end of file