The easiest solutions are the best. Just look for attributes in object.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-05-31 06:54:01 +02:00
parent cd9ff68ae9
commit 519f5050b7
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 2 additions and 8 deletions

View File

@ -4212,14 +4212,8 @@ static sxi32 VmByteCodeExec(
if(SyStrncmp(pObjAttr->pAttr->sName.zString, sName.zString, sName.nByte) == 0) {
if(pNos->iFlags != MEMOBJ_PARENTOBJ && pObjAttr->pAttr->pClass == pClass) {
break;
} else {
SyHashEntry *pDerived = SyHashGet(&pClass->hDerived, (const void *)pObjAttr->pAttr->pClass->sName.zString, pObjAttr->pAttr->pClass->sName.nByte);
if(pDerived != 0) {
ph7_class *pSub = (ph7_class *)pDerived->pUserData;
if(pObjAttr->pAttr->pClass == pSub) {
break;
}
}
} else if(pObjAttr->pAttr->pClass != pClass) {
break;
}
}
pObjAttr = 0;