diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-07-03 15:51:33 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-07-03 15:51:33 +0200 |
commit | 15548758ac825e61648fd6adc2fba96256875fac (patch) | |
tree | 486454e661267666b04c6c8e2d2646cb54f0e3ed /src/control/SceneEdit.cpp | |
parent | Re-enable console for debugging frontend (diff) | |
download | re3-15548758ac825e61648fd6adc2fba96256875fac.tar re3-15548758ac825e61648fd6adc2fba96256875fac.tar.gz re3-15548758ac825e61648fd6adc2fba96256875fac.tar.bz2 re3-15548758ac825e61648fd6adc2fba96256875fac.tar.lz re3-15548758ac825e61648fd6adc2fba96256875fac.tar.xz re3-15548758ac825e61648fd6adc2fba96256875fac.tar.zst re3-15548758ac825e61648fd6adc2fba96256875fac.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/SceneEdit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/control/SceneEdit.cpp b/src/control/SceneEdit.cpp index be8c5519..154fe603 100644 --- a/src/control/SceneEdit.cpp +++ b/src/control/SceneEdit.cpp @@ -631,7 +631,7 @@ void CSceneEdit::ProcessCommand(void) SelectActor(); if (m_bActorSelected) { if (pActors[m_nActor]->bInVehicle) { - pActors[m_nActor]->SetObjective(OBJECTIVE_LEAVE_VEHICLE); + pActors[m_nActor]->SetObjective(OBJECTIVE_LEAVE_CAR); Movie[m_nNumMovieCommands].m_nCommandId = MOVIE_GET_OUT_CAR; Movie[m_nNumMovieCommands++].m_nActorId = m_nActor; } @@ -695,7 +695,7 @@ void CSceneEdit::ProcessCommand(void) case MOVIE_WAIT: SelectActor(); if (m_bActorSelected) { - pActors[m_nActor]->SetObjective(OBJECTIVE_IDLE); + pActors[m_nActor]->SetObjective(OBJECTIVE_WAIT_ON_FOOT); Movie[m_nNumMovieCommands].m_nCommandId = MOVIE_WAIT; Movie[m_nNumMovieCommands++].m_nActorId = m_nActor; } @@ -876,7 +876,7 @@ void CSceneEdit::PlayBack(void) case MOVIE_GET_OUT_CAR: m_nActor = Movie[m_nCurrentMovieCommand].m_nActorId; if (pActors[m_nActor]->bInVehicle) - pActors[m_nActor]->SetObjective(OBJECTIVE_LEAVE_VEHICLE); + pActors[m_nActor]->SetObjective(OBJECTIVE_LEAVE_CAR); else ++m_nCurrentMovieCommand; break; @@ -895,7 +895,7 @@ void CSceneEdit::PlayBack(void) break; case MOVIE_WAIT: m_nActor = Movie[m_nCurrentMovieCommand].m_nActorId; - pActors[m_nActor]->SetObjective(OBJECTIVE_IDLE); + pActors[m_nActor]->SetObjective(OBJECTIVE_WAIT_ON_FOOT); ++m_nCurrentMovieCommand; break; case MOVIE_POSITION_CAMERA: |