From b8419e6f9d225e13bb7aaf3acc1977c07f369dc2 Mon Sep 17 00:00:00 2001 From: Ilya Shurumov Date: Fri, 23 Oct 2020 02:22:38 +0600 Subject: [PATCH] - CellEmpty hack for super-thin walls --- src_rebuild/GAME/C/OBJCOLL.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src_rebuild/GAME/C/OBJCOLL.C b/src_rebuild/GAME/C/OBJCOLL.C index 0ec44306..cf45bd00 100644 --- a/src_rebuild/GAME/C/OBJCOLL.C +++ b/src_rebuild/GAME/C/OBJCOLL.C @@ -150,8 +150,8 @@ char CellEmpty(VECTOR *pPosition, int radius) xd = (pCellObject->pos.vx - pPosition->vx) + xxd; zd = (pCellObject->pos.vz - pPosition->vz) + zzd; - zs = (collide->zsize * 2048 + radius * 4096); - xs = (collide->xsize * 2048 + radius * 4096); + zs = ((collide->zsize + 10) * 2048 + radius * 4096); + xs = ((collide->xsize + 10) * 2048 + radius * 4096); ypos = pPosition->vy + (pCellObject->pos.vy + collide->ypos) + 80;