Fix incorrect casting of return

This commit is contained in:
Drifter 2019-05-24 05:06:33 -04:00
parent 7450244663
commit 2972e0abc5

View File

@ -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
{