]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mapobjects/func/ladder.qc
Merge branch 'old-master-that-is-not-fucked' into martin-t/okc3
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mapobjects / func / ladder.qc
index 020ecca0855beb2260ad48608fd77bf917286b39..6fb3a435aa59b7b557cf04b521f2e77a01367665 100644 (file)
@@ -9,7 +9,7 @@ void func_ladder_touch(entity this, entity toucher)
        if(IS_VEHICLE(toucher))
                return;
 #elif defined(CSQC)
-       if(!toucher.isplayermodel)
+       if(!IS_PLAYER(toucher)) // don't allow non-player predicted entities!
                return;
 #endif