X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmapobjects%2Ffunc%2Fladder.qc;h=6fb3a435aa59b7b557cf04b521f2e77a01367665;hb=f785b8a76c2336cb00e78fe9e738d55512a086f5;hp=020ecca0855beb2260ad48608fd77bf917286b39;hpb=7e5268799e95d0dd6f2b77ed4e097b0adc755f2b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/mapobjects/func/ladder.qc b/qcsrc/common/mapobjects/func/ladder.qc index 020ecca08..6fb3a435a 100644 --- a/qcsrc/common/mapobjects/func/ladder.qc +++ b/qcsrc/common/mapobjects/func/ladder.qc @@ -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