Add a frozen status check to arc 1029/head
authordrjaska <drjaska83@gmail.com>
Mon, 6 Jun 2022 19:45:22 +0000 (22:45 +0300)
committerdrjaska <drjaska83@gmail.com>
Mon, 6 Jun 2022 19:45:22 +0000 (22:45 +0300)
qcsrc/common/weapons/weapon/arc.qc

index 73198a7a40dff82766009c2f4514725785664f95..c4c396fce597d44f796b826ccfebeb41a95a9307 100644 (file)
@@ -213,6 +213,8 @@ void W_Arc_Beam_Think(entity this)
                ||
                IS_DEAD(own)
                ||
+                STAT(FROZEN, own)
+                ||
                game_stopped
                ||
                !weapon_prepareattack_check(thiswep, own, weaponentity, this.beam_bursting, -1)