]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Skybox.h
Attempt at fixing the crash in DoAnimation
[lugaru.git] / Source / Skybox.h
index f408da081fef087407ff79ce26f6b3bf81e476d2..5619a2a851cdbfc741cd658358341ea0a7ca4e64 100644 (file)
@@ -1,5 +1,6 @@
 /*
 Copyright (C) 2003, 2010 - Wolfire Games
+Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file)
 
 This file is part of Lugaru.
 
@@ -31,8 +32,8 @@ class SkyBox
 public:
     Texture front, left, back, right, up, down;
 
-    void load(const char *ffront, const char *fleft, const char *fback,
-              const char *fright, const char *fup,   const char *fdown);
+    void load(const std::string& ffront, const std::string& fleft, const std::string& fback,
+              const std::string& fright, const std::string& fup,   const std::string& fdown);
     void draw();
 
     SkyBox() {}