Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Fix dynamic call screwing up return values
Browse files Browse the repository at this point in the history
  • Loading branch information
mitrokosta committed Nov 21, 2023
1 parent 2d3fd8d commit f3cd106
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/core/src/compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4456,6 +4456,7 @@ bool COMPILER::BC_Execute(uint32_t function_code, DATA *&pVReturnResult, const c
pVResult = nullptr;
if (!BC_CallFunction(func_code, ip, pVResult))
return false;
ExpressionResult.ClearType();
if (pVResult)
{
ExpressionResult.Set(1);
Expand Down

0 comments on commit f3cd106

Please sign in to comment.