From: Mario Date: Thu, 24 Dec 2015 07:54:13 +0000 (+1000) Subject: Make sure projectiles and dropped weapons don't try to interact with ladders X-Git-Tag: xonotic-v0.8.2~1392 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=751261e81eb1fe6ca0ace67520b172be5c6bd071;p=xonotic%2Fxonotic-data.pk3dir.git Make sure projectiles and dropped weapons don't try to interact with ladders --- diff --git a/qcsrc/common/triggers/func/ladder.qc b/qcsrc/common/triggers/func/ladder.qc index bcf994ff4..4e90eb9aa 100644 --- a/qcsrc/common/triggers/func/ladder.qc +++ b/qcsrc/common/triggers/func/ladder.qc @@ -7,6 +7,9 @@ void func_ladder_touch() return; if(IS_VEHICLE(other)) return; +#elif defined(CSQC) + if(!other.isplayermodel) + return; #endif EXACTTRIGGER_TOUCH;