summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/lua_api/l_camera.h')
-rw-r--r--src/script/lua_api/l_camera.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_camera.h b/src/script/lua_api/l_camera.h
index 04921ad03..c4a0f877c 100644
--- a/src/script/lua_api/l_camera.h
+++ b/src/script/lua_api/l_camera.h
@@ -26,7 +26,7 @@ private:
static int l_get_look_horizontal(lua_State *L);
static int l_get_aspect_ratio(lua_State *L);
- Camera *m_camera;
+ Camera *m_camera = nullptr;
public:
LuaCamera(Camera *m);