mirror of
https://github.com/XProger/OpenLara.git
synced 2025-09-01 01:01:50 +02:00
fix camera last frame for cutscenes
This commit is contained in:
@@ -330,7 +330,7 @@ struct Camera : ICamera {
|
||||
int indexA = min(int(timer), level->cameraFramesCount - 1);
|
||||
int indexB = min((indexA + 1), level->cameraFramesCount - 1);
|
||||
|
||||
if (indexA == level->cameraFramesCount - 1) {
|
||||
if (indexA == level->cameraFramesCount - 3) {
|
||||
if (level->isCutsceneLevel())
|
||||
game->loadNextLevel();
|
||||
else {
|
||||
|
Reference in New Issue
Block a user