diff --git a/src_rebuild/GAME/C/CAMERA.C b/src_rebuild/GAME/C/CAMERA.C index e2cd61e0..325ae0fd 100644 --- a/src_rebuild/GAME/C/CAMERA.C +++ b/src_rebuild/GAME/C/CAMERA.C @@ -1008,8 +1008,12 @@ void PlaceCameraInCar(_PLAYER *lp, int BumperCam) } else { - viewer_position.vy = 7; - viewer_position.vz = cp->ap.carCos->colBox.vz - 80; + // [A] prevent crash from happening + if (cp->ap.carCos != NULL) + { + viewer_position.vy = 7; + viewer_position.vz = cp->ap.carCos->colBox.vz - 80; + } } if ((paddCamera & 3) == 3)