From 9d3e472762965c73a2eb8c0cf762cb9ba5ffe45e Mon Sep 17 00:00:00 2001 From: asmodai Date: Sat, 4 Jul 2015 22:00:08 +0300 Subject: [PATCH] Fixed #46 --- rehlds/engine/world.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rehlds/engine/world.cpp b/rehlds/engine/world.cpp index 6970339..4c771b3 100644 --- a/rehlds/engine/world.cpp +++ b/rehlds/engine/world.cpp @@ -1194,7 +1194,12 @@ void SV_ClipToLinks(areanode_t *node, moveclip_t *clip) Sys_Error("Trigger in clipping list"); if (gNewDLLFunctions.pfnShouldCollide && !gNewDLLFunctions.pfnShouldCollide(touch, clip->passedict)) +#ifdef REHLDS_FIXES + // https://github.com/dreamstalker/rehlds/issues/46 + continue; +#else return; +#endif if (touch->v.solid == SOLID_BSP) {