]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Change VQ3 trigger_hurt damage time to 0.1
authorMario <zacjardine@y7mail.com>
Sat, 15 Sep 2018 19:15:17 +0000 (05:15 +1000)
committerMario <zacjardine@y7mail.com>
Sat, 15 Sep 2018 19:15:17 +0000 (05:15 +1000)
qcsrc/common/mapobjects/trigger/hurt.qc

index a19c86415e984dcba72cd54e5d33b36084de8503..ccdf2c7d0b96a291086be949e2c53db8180b725d 100644 (file)
@@ -25,7 +25,7 @@ void trigger_hurt_touch(entity this, entity toucher)
                if (toucher.triggerhurttime < time)
                {
                        EXACTTRIGGER_TOUCH(this, toucher);
-                       toucher.triggerhurttime = time + ((autocvar_sv_vq3compat && !(this.spawnflags & HURT_SLOW)) ? 0.2 : 1);
+                       toucher.triggerhurttime = time + ((autocvar_sv_vq3compat && !(this.spawnflags & HURT_SLOW)) ? 0.1 : 1);
 
                        entity own;
                        own = this.enemy;