mirror of
https://github.com/AntonioND/nitro-engine.git
synced 2025-06-18 16:45:33 -04:00
library: Fix return code of function
Return the right code when there is an error.
This commit is contained in:
parent
bc2a564f77
commit
72dca60154
@ -444,7 +444,7 @@ int NE_ModelLoadDSMFAT(NE_Model *model, const char *path)
|
||||
|
||||
void *pointer = NE_FATLoadData(path);
|
||||
if (pointer == NULL)
|
||||
return 1;
|
||||
return 0;
|
||||
|
||||
if (model->free_mesh)
|
||||
free((void *)model->meshdata);
|
||||
|
Loading…
Reference in New Issue
Block a user