Browse Source

Fix build.

release/v0.1
Rafal Kupiec 1 year ago
parent
commit
b319e11c09
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      engine/vm.c

+ 1
- 1
engine/vm.c View File

@ -4159,7 +4159,7 @@ static sxi32 VmByteCodeExec(
PH7_VmThrowError(&(*pVm), PH7_CTX_ERR,
"Attempt to call parent class from non-inheritance instance of class '%z'", &pClass->sName);
}
if(pNos->iFlags == MEMOBJ_BASE) {
if(pNos->iFlags == MEMOBJ_BASEOBJ) {
pClass = pClass->pBase;
}
}

Loading…
Cancel
Save