mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-10 13:28:16 +00:00
fix various problems, thanks CppCheck :) (#1005)
* explained a bit more the core_window_letterbox example * fixed a few 'ups' moments that could lead to mild head pain and time loss
This commit is contained in:
@@ -929,12 +929,16 @@ ModelAnimation *LoadModelAnimations(const char *filename, int *animCount)
|
||||
{
|
||||
TraceLog(LOG_ERROR, "Magic Number \"%s\"does not match.", iqm.magic);
|
||||
fclose(iqmFile);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (iqm.version != IQM_VERSION)
|
||||
{
|
||||
TraceLog(LOG_ERROR, "IQM version %i is incorrect.", iqm.version);
|
||||
fclose(iqmFile);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Get bones data
|
||||
|
Reference in New Issue
Block a user