mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-25 11:52:32 +01:00
- do not extend car collision box (to avoid unwanted collisions)
This commit is contained in:
parent
e091b941fa
commit
1e4b2dc8c8
@ -661,8 +661,8 @@ int CarBuildingCollision(CAR_DATA *cp, BUILDING_BOX *building, CELL_OBJECT *cop,
|
||||
cp->hd.where.t[0] += cd[0].vel.vx;
|
||||
cp->hd.where.t[2] += cd[0].vel.vz;
|
||||
|
||||
cd[0].length[0] = car_cos->colBox.vz + 15;
|
||||
cd[0].length[1] = car_cos->colBox.vx + 15;
|
||||
cd[0].length[0] = car_cos->colBox.vz;
|
||||
cd[0].length[1] = car_cos->colBox.vx;
|
||||
|
||||
if (handlingType[cp->hndType].fourWheelDrive == 1 || cp->hndType == 5)
|
||||
cd[0].length[1] = (cd[0].length[1] * 13) / 16;
|
||||
|
Loading…
Reference in New Issue
Block a user