From 24dbcdb6845f17ad1f0509bc173caabee9e6f2bb Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 21 Oct 2018 06:54:01 +1000 Subject: [PATCH] Don't drop mages from high spots when teleporting --- qcsrc/common/monsters/monster/mage.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/monsters/monster/mage.qc b/qcsrc/common/monsters/monster/mage.qc index 0ca1c18c0b..f2de0602bc 100644 --- a/qcsrc/common/monsters/monster/mage.qc +++ b/qcsrc/common/monsters/monster/mage.qc @@ -314,7 +314,7 @@ void M_Mage_Attack_Teleport(entity this, entity targ) vector extrasize = '1 1 1' * autocvar_g_monster_mage_attack_teleport_random_range; if(MoveToRandomLocationWithinBounds(this, this.absmin - extrasize, this.absmax + extrasize, DPCONTENTS_SOLID | DPCONTENTS_CORPSE | DPCONTENTS_PLAYERCLIP, DPCONTENTS_SLIME | DPCONTENTS_LAVA | DPCONTENTS_SKY | DPCONTENTS_BODY | DPCONTENTS_DONOTENTER, - Q3SURFACEFLAG_SKY, 10, 1024, 256, true)) + Q3SURFACEFLAG_SKY, 10, 64, 256, true)) { vector a = vectoangles(targ.origin - this.origin); this.angles = '0 1 0' * a.y; -- 2.39.2