Fix not being able to block void functions.
This commit is contained in:
parent
9c95698c36
commit
957228443b
@ -396,6 +396,12 @@ void *Callback(DHooksCallback *dg, void **argStack)
|
|||||||
dg->plugin_callback->GetParentRuntime()->GetDefaultContext()->ThrowNativeError("Tried to override return value without return value being set");
|
dg->plugin_callback->GetParentRuntime()->GetDefaultContext()->ThrowNativeError("Tried to override return value without return value being set");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
g_SHPtr->DoRecall();
|
||||||
|
g_SHPtr->SetRes(MRES_SUPERCEDE);
|
||||||
|
mres = MRES_SUPERCEDE;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
g_SHPtr->SetRes(MRES_IGNORED);
|
g_SHPtr->SetRes(MRES_IGNORED);
|
||||||
|
Loading…
Reference in New Issue
Block a user