Fix incorrect casting of return
This commit is contained in:
parent
7450244663
commit
2972e0abc5
@ -737,7 +737,7 @@ SDKVector *Callback_vector(DHooksCallback *dg, void **argStack)
|
||||
{
|
||||
g_SHPtr->SetRes(MRES_SUPERCEDE);
|
||||
mres = MRES_SUPERCEDE;
|
||||
*vec_result = **(SDKVector **)returnStruct->newResult;
|
||||
*vec_result = *(SDKVector *)returnStruct->newResult;
|
||||
}
|
||||
else //Throw an error if no override was set
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user