Fix for bug #18900: game engine lights in non-glsl mode did move
[blender.git] / source / gameengine / Rasterizer / RAS_LightObject.h
index 6b63a891981399df69b18aab14f4750c75bd2cef..b45a35e4266e296dd0e5377a8ac880370bacaea0 100644 (file)
@@ -39,8 +39,9 @@ struct RAS_LightObject
                LIGHT_NORMAL
        };
        bool    m_modified;
-       int     m_layer;
+       int             m_layer;
        void    *m_scene;
+       void    *m_light;
        
        float   m_energy;
        float   m_distance;
@@ -55,7 +56,6 @@ struct RAS_LightObject
        float   m_spotblend;
 
        LightType       m_type;
-       MT_CmMatrix4x4* m_worldmatrix;
        
        bool    m_nodiffuse;
        bool    m_nospecular;