From 73a39ac8e8e37c9c3a9c75ead479b599a9072a76 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 5 Aug 2019 15:42:22 +1000 Subject: [PATCH] Don't do jumpoff checks when the monster isn't on the ground --- qcsrc/common/monsters/sv_monsters.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/monsters/sv_monsters.qc b/qcsrc/common/monsters/sv_monsters.qc index 0619a5ded..c707f8c38 100644 --- a/qcsrc/common/monsters/sv_monsters.qc +++ b/qcsrc/common/monsters/sv_monsters.qc @@ -1095,7 +1095,7 @@ void Monster_Move_2D(entity this, float mspeed, bool allow_jumpoff) if(trace_ent && IS_MONSTER(trace_ent)) reverse = true; - if(!allow_jumpoff) + if(!allow_jumpoff && IS_ONGROUND(this)) { traceline(b, b - '0 0 32', MOVE_NORMAL, this); if(trace_fraction == 1.0) -- 2.39.2