- CellEmpty hack for super-thin walls

This commit is contained in:
Ilya Shurumov 2020-10-23 02:22:38 +06:00
parent 80ae15bc13
commit b8419e6f9d

View File

@ -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;