Some tweaks

This commit is contained in:
Ray 2020-01-28 16:40:12 +01:00
parent 98a7d35bab
commit c715cae18d
3 changed files with 15 additions and 24 deletions

View file

@ -930,7 +930,7 @@ ModelAnimation *LoadModelAnimations(const char *filename, int *animCount)
unsigned int flags;
} IQMAnim;
FILE *iqmFile;
FILE *iqmFile = NULL;
IQMHeader iqm;
iqmFile = fopen(filename,"rb");
@ -3061,7 +3061,7 @@ static Model LoadIQM(const char *fileName)
Model model = { 0 };
FILE *iqmFile;
FILE *iqmFile = NULL;
IQMHeader iqm;
IQMMesh *imesh;