]> git.jsancho.org Git - lugaru.git/commitdiff
Added a ConvertFileName() to 'Models.cpp'
authorRyan Hanson <hansonry@gmail.com>
Sat, 15 May 2010 05:42:45 +0000 (00:42 -0500)
committerRyan Hanson <hansonry@gmail.com>
Sat, 15 May 2010 05:42:45 +0000 (00:42 -0500)
Source/Models.cpp

index 5339b9b1f5e0afe86ba87aae9bb63a94bf7252b0..5c09c61bfbfaf223feba1c4fabd24ab81e7b998e 100644 (file)
@@ -714,7 +714,7 @@ bool Model::loadraw(char *filename )
        type = rawtype;
        color=0;
 
-       tfile=fopen( filename, "rb" );
+       tfile=fopen( ConvertFileName(filename), "rb" );
        // read model settings