From: Ryan Hanson Date: Sat, 15 May 2010 05:42:45 +0000 (-0500) Subject: Added a ConvertFileName() to 'Models.cpp' X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=f66b1c7e45b9ed0b7def76825fb4fa042697b693;p=lugaru.git Added a ConvertFileName() to 'Models.cpp' --- diff --git a/Source/Models.cpp b/Source/Models.cpp index 5339b9b..5c09c61 100644 --- a/Source/Models.cpp +++ b/Source/Models.cpp @@ -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