]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Models.cpp
Cleanup handling of console commands
[lugaru.git] / Source / Models.cpp
index 5c09c61bfbfaf223feba1c4fabd24ab81e7b998e..e573423ba9eb674cc49b743c26a267cfe217fcd3 100644 (file)
@@ -424,7 +424,7 @@ void Model::UpdateVertexArrayNoTexNoNorm(){
        }
 }
 
-bool Model::loadnotex(char *filename )
+bool Model::loadnotex(const char *filename )
 {
        FILE                    *tfile;
        long                            i;
@@ -499,7 +499,7 @@ bool Model::loadnotex(char *filename )
 }
 
 
-bool Model::load(char *filename,bool texture )
+bool Model::load(const char *filename,bool texture )
 {
        FILE                    *tfile;
        long                            i;
@@ -587,7 +587,7 @@ bool Model::load(char *filename,bool texture )
        return 1;
 }
 
-bool Model::loaddecal(char *filename,bool texture )
+bool Model::loaddecal(const char *filename,bool texture )
 {
        FILE                    *tfile;
        long                            i,j;