1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-01-19 12:07:13 +01:00

Fix the way quiet routines are being identified. Forgot to negate the value.

This commit is contained in:
Sandu Liviu Catalin 2018-07-03 23:05:41 +03:00
parent 35a24e12eb
commit 50dec8d958

View File

@ -145,7 +145,7 @@ private:
sq_pushobject(vm, mArgv[n].mObj); sq_pushobject(vm, mArgv[n].mObj);
} }
// Make the function call and store the result // Make the function call and store the result
const SQRESULT res = sq_call(vm, mArgc + 1, false, mQuiet); const SQRESULT res = sq_call(vm, mArgc + 1, false, !mQuiet);
// Validate the result // Validate the result
if (SQ_FAILED(res)) if (SQ_FAILED(res))
{ {