- fix camera invalidation error on first frames

This commit is contained in:
Ilya Shurumov 2020-11-10 02:35:32 +06:00
parent 702a77c168
commit c0e40aea14

View File

@ -3009,6 +3009,10 @@ int InvalidCamera(int car_num)
int dz; int dz;
int numEventModels; int numEventModels;
// [A] bug fix of invalid player camera
if (CameraCnt < 3)
return 0;
// check if camera is not too far // check if camera is not too far
if (cameraview != 2) if (cameraview != 2)
{ {