diff options
author | aap <aap@papnet.eu> | 2020-05-06 12:23:26 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-06 12:23:26 +0200 |
commit | cbfc45b3f72468e7880bec852773955d3886b5ff (patch) | |
tree | b1c472a41e7b50d1950e37c8d27d1eb9531ca57d /src/control/Replay.cpp | |
parent | reverting fuckup (diff) | |
download | re3-cbfc45b3f72468e7880bec852773955d3886b5ff.tar re3-cbfc45b3f72468e7880bec852773955d3886b5ff.tar.gz re3-cbfc45b3f72468e7880bec852773955d3886b5ff.tar.bz2 re3-cbfc45b3f72468e7880bec852773955d3886b5ff.tar.lz re3-cbfc45b3f72468e7880bec852773955d3886b5ff.tar.xz re3-cbfc45b3f72468e7880bec852773955d3886b5ff.tar.zst re3-cbfc45b3f72468e7880bec852773955d3886b5ff.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Replay.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Replay.cpp b/src/control/Replay.cpp index fd5448cc..707f1d87 100644 --- a/src/control/Replay.cpp +++ b/src/control/Replay.cpp @@ -987,7 +987,7 @@ void CReplay::FinishPlayback(void) Mode = MODE_RECORD; if (bDoLoadSceneWhenDone){ CVector v_ls(LoadSceneX, LoadSceneY, LoadSceneZ); - CGame::currLevel = CTheZones::GetLevelFromPosition(v_ls); + CGame::currLevel = CTheZones::GetLevelFromPosition(&v_ls); CCollision::SortOutCollisionAfterLoad(); CStreaming::LoadScene(v_ls); } @@ -1101,7 +1101,7 @@ void CReplay::TriggerPlayback(uint8 cam_mode, float cam_x, float cam_y, float ca LoadSceneZ = TheCamera.GetPosition().z; CVector ff_coord; FindFirstFocusCoordinate(&ff_coord); - CGame::currLevel = CTheZones::GetLevelFromPosition(ff_coord); + CGame::currLevel = CTheZones::GetLevelFromPosition(&ff_coord); CCollision::SortOutCollisionAfterLoad(); CStreaming::LoadScene(ff_coord); } |