diff --git a/src_rebuild/Game/C/cars.c b/src_rebuild/Game/C/cars.c index bc24c9ee..5412326c 100644 --- a/src_rebuild/Game/C/cars.c +++ b/src_rebuild/Game/C/cars.c @@ -427,7 +427,7 @@ void ComputeCarLightingLevels(CAR_DATA* cp, char detail) norms = (SVECTOR*)model->point_normals; ppads = gTempCarVertDump[cp->id]; - count = num_norms + 1; + count = num_norms;// +1; while (count >= 0) { diff --git a/src_rebuild/Game/C/replays.c b/src_rebuild/Game/C/replays.c index 721ba94f..5e4bab33 100644 --- a/src_rebuild/Game/C/replays.c +++ b/src_rebuild/Game/C/replays.c @@ -47,9 +47,12 @@ void InitPadRecording(void) { char *bufferEnd; - int remain; + int remain, cutsSize; int i; + // initialize chases + cutsSize = CalcInGameCutsceneSize(); + gOutOfTape = 0; if (gLoadedReplay == 0 && @@ -72,7 +75,7 @@ void InitPadRecording(void) // FIXME: is that correct? bufferEnd = replayptr-13380; - remain = (u_int)ReplayStart - (u_int)bufferEnd - CalcInGameCutsceneSize(); + remain = (u_int)ReplayStart - (u_int)bufferEnd - cutsSize; for (i = 0; i < NumPlayers; i++) {