accc: fix kids count

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7693 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3c3503aa48c5c7ae9b72395d2e4a08d187de094e
Former-commit-id: a784471c807dc19fdd9a138b68c9da37ab94eed1
This commit is contained in:
iobyte 2021-10-03 00:26:47 +00:00
parent 7e7bff1f9b
commit 762727b24d

View file

@ -4571,7 +4571,7 @@ void computeSaveAC3DStrip(const char * OutputFilename, ob_t * object)
tmpob = tmpob->next; tmpob = tmpob->next;
continue; continue;
} }
if (!strcmp(tmpob->name, "world")) if (!strcmp(tmpob->name, "world") || (tmpob->type && !strcmp(tmpob->type, "world") && tmpob->numvert == 0 && tmpob->numsurf == 0))
{ {
tmpob = tmpob->next; tmpob = tmpob->next;
continue; continue;