Only use abort() for fatal conditions: abort() cleanup patch.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7516 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
7b445aa461
commit
8160e6c352
|
@ -1689,7 +1689,6 @@ BOOL loadDroidTemplates(const char *pDroidData, UDWORD bufferSize)
|
|||
if (!found)
|
||||
{
|
||||
debug( LOG_ERROR, "Body component not found for droid %s", getTemplateName(pDroidDesign) );
|
||||
abort();
|
||||
free(pDroidDesign->pName);
|
||||
free(pDroidDesign);
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue