use const for readonly strings and set some functions to static
[blender.git] / source / gameengine / Ketsji / KX_SceneActuator.h
index 4dbd489..30f325a 100644 (file)
@@ -54,9 +54,9 @@ class KX_SceneActuator : public SCA_IActuator
        class KX_Camera*                        m_camera;
 
        /** Is this a valid scene? */
-       class KX_Scene* FindScene(char* sceneName);
+       class KX_Scene* FindScene(const char* sceneName);
        /** Is this a valid camera? */
-       class KX_Camera* FindCamera(char* cameraName);
+       class KX_Camera* FindCamera(const char* cameraName);
        
  public:
        enum SCA_SceneActuatorMode