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:
parent
35a24e12eb
commit
50dec8d958
@ -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))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user