From dbf01362cbd72b1c2e69f627b800f1b97033a5f6 Mon Sep 17 00:00:00 2001 From: nimetu Date: Tue, 22 Mar 2022 14:19:44 +0200 Subject: [PATCH] Add CUserControls::getFreeLook() method --- ryzom/client/src/motion/user_controls.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ryzom/client/src/motion/user_controls.h b/ryzom/client/src/motion/user_controls.h index b607ab180..c000f45c1 100644 --- a/ryzom/client/src/motion/user_controls.h +++ b/ryzom/client/src/motion/user_controls.h @@ -177,6 +177,8 @@ public: /// Stop Free Look (can be called multiple times if needed). Additionaly, the mouse/pointer is restored void stopFreeLook(); + bool getFreeLook() const { return _FreeLook; } + /// Is the camera inside the character. bool isInternalView() {return _InternalView;}