mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-25 11:52:32 +01:00
- fix Jones in trouble cutscene deviation
This commit is contained in:
parent
f65e1cec71
commit
f4145a0458
@ -798,7 +798,7 @@ int CarBuildingCollision(CAR_DATA *cp, BUILDING_BOX *building, CELL_OBJECT *cop,
|
||||
collisionResult.hit.vy = cp->hd.where.t[1] + 41;
|
||||
|
||||
// perform error correction
|
||||
if((model->flags2 & MODEL_FLAG_SMASHABLE) == 0 || gInGameCutsceneActive == 0)
|
||||
if((model->flags2 & MODEL_FLAG_SMASHABLE) == 0 || gInGameCutsceneActive == 0 || cd[0].isCameraOrTanner)
|
||||
{
|
||||
cp->hd.where.t[0] += FIXEDH(collisionResult.penetration * collisionResult.surfNormal.vx);
|
||||
cp->hd.where.t[2] += FIXEDH(collisionResult.penetration * collisionResult.surfNormal.vz);
|
||||
|
Loading…
Reference in New Issue
Block a user