mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-26 04:12:34 +01:00
- CellEmpty hack for super-thin walls
This commit is contained in:
parent
80ae15bc13
commit
b8419e6f9d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user