]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Do not reset vortex's lasthit, now Impressive medal counts through weapon changes
authorz411 <z411@omaera.org>
Wed, 21 Oct 2020 23:34:04 +0000 (20:34 -0300)
committerz411 <z411@omaera.org>
Wed, 21 Oct 2020 23:34:04 +0000 (20:34 -0300)
qcsrc/common/mutators/mutator/overkill/oknex.qc
qcsrc/common/weapons/weapon/vaporizer.qc
qcsrc/common/weapons/weapon/vortex.qc

index 0b7b07a1f8f41e94d4e3202ef89cfa262a22fc1c..a4e55983ff208a9d6521ca3506de93bb89d837f4 100644 (file)
@@ -267,7 +267,7 @@ METHOD(OverkillNex, wr_think, void(entity thiswep, entity actor, .entity weapone
 
 METHOD(OverkillNex, wr_setup, void(entity thiswep, entity actor, .entity weaponentity))
 {
-       actor.oknex_lasthit = 0;
+       //actor.oknex_lasthit = 0;
 }
 
 METHOD(OverkillNex, wr_checkammo1, bool(entity thiswep, entity actor, .entity weaponentity))
index 669894bdcc8296165d62d04ddad7c57e0d686229..a7b0533ee621e7e2c111138063e33fd686c6c494 100644 (file)
@@ -351,7 +351,7 @@ METHOD(Vaporizer, wr_think, void(entity thiswep, entity actor, .entity weaponent
 }
 METHOD(Vaporizer, wr_setup, void(entity thiswep, entity actor, .entity weaponentity))
 {
-    actor.vaporizer_lasthit = 0;
+    //actor.vaporizer_lasthit = 0;
 }
 METHOD(Vaporizer, wr_checkammo1, bool(entity thiswep, entity actor, .entity weaponentity))
 {
index 99a02720f964416b4c0cf8939e72154a88a977eb..e78a1be08ab174e9ba514bf86a26807b9d3c8578 100644 (file)
@@ -281,7 +281,7 @@ METHOD(Vortex, wr_think, void(entity thiswep, entity actor, .entity weaponentity
 }
 METHOD(Vortex, wr_setup, void(entity thiswep, entity actor, .entity weaponentity))
 {
-    actor.vortex_lasthit = 0;
+    //actor.vortex_lasthit = 0;
 }
 METHOD(Vortex, wr_checkammo1, bool(entity thiswep, entity actor, .entity weaponentity))
 {