Add explanatory comment

master
Ansariel 2020-05-29 09:21:12 +02:00
parent ab5fab2f44
commit ba578edf71
1 changed files with 2 additions and 0 deletions

View File

@ -5239,6 +5239,8 @@ void handle_reset_view()
// <FS:Zi> Added optional V1 behavior so the avatar turns into camera direction after hitting ESC
if (!gSavedSettings.getBOOL("ResetViewTurnsAvatar"))
{
// The only thing we actually want to do here is set LLAgent::mFocusOnAvatar to TRUE,
// since this prevents the avatar from turning.
gAgentCamera.setFocusOnAvatar(TRUE, FALSE, FALSE);
}
// </FS:Zi>