mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-23 02:42:38 +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 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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user