]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make sure projectiles and dropped weapons don't try to interact with ladders
authorMario <mario@smbclan.net>
Thu, 24 Dec 2015 07:54:13 +0000 (17:54 +1000)
committerMario <mario@smbclan.net>
Thu, 24 Dec 2015 07:54:13 +0000 (17:54 +1000)
qcsrc/common/triggers/func/ladder.qc

index bcf994ff4e42de7b845ab1c319592ef6d649980d..4e90eb9aa3f05004c62f085f08d5336788fd8960 100644 (file)
@@ -7,6 +7,9 @@ void func_ladder_touch()
                return;
        if(IS_VEHICLE(other))
                return;
+#elif defined(CSQC)
+       if(!other.isplayermodel)
+               return;
 #endif
 
        EXACTTRIGGER_TOUCH;