From: z411 Date: Wed, 21 Oct 2020 23:34:04 +0000 (-0300) Subject: Do not reset vortex's lasthit, now Impressive medal counts through weapon changes X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=691f9fff211e78ff9cd124c9b182cfa0c31c5647;p=xonotic%2Fxonotic-data.pk3dir.git Do not reset vortex's lasthit, now Impressive medal counts through weapon changes --- diff --git a/qcsrc/common/mutators/mutator/overkill/oknex.qc b/qcsrc/common/mutators/mutator/overkill/oknex.qc index 0b7b07a1f..a4e55983f 100644 --- a/qcsrc/common/mutators/mutator/overkill/oknex.qc +++ b/qcsrc/common/mutators/mutator/overkill/oknex.qc @@ -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)) diff --git a/qcsrc/common/weapons/weapon/vaporizer.qc b/qcsrc/common/weapons/weapon/vaporizer.qc index 669894bdc..a7b0533ee 100644 --- a/qcsrc/common/weapons/weapon/vaporizer.qc +++ b/qcsrc/common/weapons/weapon/vaporizer.qc @@ -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)) { diff --git a/qcsrc/common/weapons/weapon/vortex.qc b/qcsrc/common/weapons/weapon/vortex.qc index 99a02720f..e78a1be08 100644 --- a/qcsrc/common/weapons/weapon/vortex.qc +++ b/qcsrc/common/weapons/weapon/vortex.qc @@ -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)) {