summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
Diffstat (limited to 'src/control')
-rw-r--r--src/control/SceneEdit.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/control/SceneEdit.cpp b/src/control/SceneEdit.cpp
index 251f093f..306aba14 100644
--- a/src/control/SceneEdit.cpp
+++ b/src/control/SceneEdit.cpp
@@ -197,6 +197,10 @@ void CSceneEdit::ReInitialise(void)
m_bEditOn = true;
m_bRecording = true;
m_bCommandActive = false;
+#ifdef FIX_BUGS
+ m_bCameraFollowActor = false;
+ TheCamera.Cams[TheCamera.ActiveCam].ResetStatics = true; // not enough...
+#endif
m_nActor = -1;
m_nActor2 = -1;
m_nVehicle = -1;
@@ -691,8 +695,8 @@ void CSceneEdit::ProcessCommand(void)
SelectActor();
if (m_bActorSelected) {
pActors[m_nActor]->SetObjective(OBJECTIVE_IDLE);
- Movie[m_nCurrentMovieCommand].m_nCommandId = MOVIE_WAIT;
- Movie[m_nCurrentMovieCommand++].m_nActorId = m_nActor;
+ Movie[m_nNumMovieCommands].m_nCommandId = MOVIE_WAIT;
+ Movie[m_nNumMovieCommands++].m_nActorId = m_nActor;
}
if (CPad::GetPad(1)->GetCircleJustDown()) {
pActors[m_nActor] = nil;