]> git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Make dropped consumables work with g_nodepthtestitems
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 15 Mar 2012 13:00:27 +0000 (15:00 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 15 Mar 2012 13:00:27 +0000 (15:00 +0200)
data/qcsrc/server/t_items.qc
docs/TODO.txt

index f7468f0e6705624305833462d0d6bf4e0de49e8f..89c5a2f2880b5b660cea84210c20483d4134591f 100644 (file)
@@ -387,6 +387,9 @@ void Item_DroppedConsumable_Spawn(entity e)
        item.scale = e.scale;\r
        item.colormod = e.colormod;\r
 \r
+       if(cvar("g_nodepthtestitems"))\r
+               item.effects |= EF_NODEPTHTEST;\r
+\r
        float scalediff;\r
        scalediff = cvar("g_healthsize") ? e.scale / e.predator.scale : e.scale; // the tighter the gut, the greater the velocity\r
        setorigin(item, e.predator.origin);\r
index 93507dfcf0f37b3756a89875648b71aba1d65fad..93720e467b2ca2e7f59d8a262ad02c391470b9b7 100644 (file)
 \r
 - 0.7: Bloodprison and BloodprisonCTF have no waypoints (somehow)\r
 \r
-- 0.7 | 0.8: How do consumable items work with no depthtest items?\r
+- 0.7 | 0.8 BUG: Bots still throw up health items when they need them\r
 \r
-- 0.7 | 0.8 BUG: Bots still throw up health items when they need them
\ No newline at end of file
+- +0.8: Create a recommended bot number for maps in mapinfo\r
+\r
+- 0.7: Throwing up items doesn't apply velocities (might be the healthsize thing)
\ No newline at end of file