mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 18:32:42 +01:00
- fix camera invalidation error on first frames
This commit is contained in:
parent
702a77c168
commit
c0e40aea14
@ -3009,6 +3009,10 @@ int InvalidCamera(int car_num)
|
||||
int dz;
|
||||
int numEventModels;
|
||||
|
||||
// [A] bug fix of invalid player camera
|
||||
if (CameraCnt < 3)
|
||||
return 0;
|
||||
|
||||
// check if camera is not too far
|
||||
if (cameraview != 2)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user