- fix bugs?

This commit is contained in:
Ilya Shurumov 2020-05-19 01:44:18 +06:00
parent 9aaa466185
commit 900d268097
3 changed files with 6 additions and 3 deletions

View File

@ -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)
{

View File

@ -1,6 +1,7 @@
#ifndef CUTSCENE_H
#define CUTSCENE_H
extern int gInGameCutsceneID;
extern int gInGameCutsceneActive;
extern int gInGameCutsceneDelay;
extern int gInGameChaseActive;

View File

@ -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;