diff --git a/IDEHelper/Compiler/BfExprEvaluator.cpp b/IDEHelper/Compiler/BfExprEvaluator.cpp index 70ac9ed1..6c0b4ed3 100644 --- a/IDEHelper/Compiler/BfExprEvaluator.cpp +++ b/IDEHelper/Compiler/BfExprEvaluator.cpp @@ -4440,7 +4440,7 @@ BfTypedValue BfExprEvaluator::LookupField(BfAstNode* targetSrc, BfTypedValue tar { if (auto propertyDeclaration = BfNodeDynCast(mPropDef->mFieldDeclaration)) { - if (curCheckType->mTypeDef->HasAutoProperty(propertyDeclaration)) + if ((curCheckType->mTypeDef->HasAutoProperty(propertyDeclaration)) && (propertyDeclaration->mVirtualSpecifier == NULL)) { bool hasSetter = GetPropertyMethodDef(mPropDef, BfMethodType_PropertySetter, BfCheckedKind_NotSet, mPropTarget) != NULL; auto autoFieldName = curCheckType->mTypeDef->GetAutoPropertyName(propertyDeclaration); @@ -15651,11 +15651,6 @@ BfTypedValue BfExprEvaluator::GetResult(bool clearResult, bool resolveGenericTyp return mResult; } - if (matchedMethod->mName == "get__Hitbox") - { - NOP; - } - auto methodInstance = GetPropertyMethodInstance(matchedMethod); if (methodInstance.mMethodInstance == NULL) return mResult;