mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-23 10:52:36 +01:00
- fix bugs?
This commit is contained in:
parent
9aaa466185
commit
900d268097
@ -129,13 +129,14 @@ int TannerCanEnterCar(_CAR_DATA *cp, int distToCarSq)
|
||||
/* end block 3 */
|
||||
// End Line: 650
|
||||
|
||||
// [D]
|
||||
int TannerStuckInCar(int doSpeedCheck)
|
||||
{
|
||||
short *psVar1;
|
||||
int iVar2;
|
||||
int iVar3;
|
||||
|
||||
_CAR_DATA *cp;
|
||||
_CAR_DATA *cp = NULL;
|
||||
|
||||
if (NumPlayers < 2 && player[0].playerType == 1)
|
||||
{
|
||||
@ -150,6 +151,7 @@ int TannerStuckInCar(int doSpeedCheck)
|
||||
}
|
||||
|
||||
if ((*psVar1 < 0x293 || player_position_known < 1) &&
|
||||
cp &&
|
||||
(cp->hd.wheel[1].surface & 7) != 1 &&
|
||||
(cp->hd.wheel[3].surface & 7) != 1)
|
||||
{
|
||||
|
@ -1,6 +1,7 @@
|
||||
#ifndef CUTSCENE_H
|
||||
#define CUTSCENE_H
|
||||
|
||||
extern int gInGameCutsceneID;
|
||||
extern int gInGameCutsceneActive;
|
||||
extern int gInGameCutsceneDelay;
|
||||
extern int gInGameChaseActive;
|
||||
|
@ -664,8 +664,8 @@ int IsMovingCamera(PLAYBACKCAMERA *lastcam, PLAYBACKCAMERA *nextcam, int camerac
|
||||
if (lastcam == NULL)
|
||||
return 0;
|
||||
|
||||
if (cameraview != 5 && cameraview != 1)
|
||||
return 0;
|
||||
//if (cameraview != 5 && cameraview != 1)
|
||||
// return 0;
|
||||
|
||||
bVar5 = nextcam->cameraview & 0x87;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user