Fix not marking Vector params as changed.
This commit is contained in:
parent
4b6664042e
commit
9c95698c36
@ -477,6 +477,7 @@ cell_t Native_SetParamVector(IPluginContext *pContext, const cell_t *params)
|
|||||||
pContext->LocalToPhysAddr(params[3], &buffer);
|
pContext->LocalToPhysAddr(params[3], &buffer);
|
||||||
|
|
||||||
paramStruct->newParams[index] = new Vector(sp_ctof(buffer[0]), sp_ctof(buffer[1]), sp_ctof(buffer[2]));
|
paramStruct->newParams[index] = new Vector(sp_ctof(buffer[0]), sp_ctof(buffer[1]), sp_ctof(buffer[2]));
|
||||||
|
paramStruct->isChanged[index] = true;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user