From 9c95698c3684d3544f0d95ccc33962b9aecd987f Mon Sep 17 00:00:00 2001 From: Dr!fter Date: Fri, 5 Jun 2015 08:44:05 -0400 Subject: [PATCH] Fix not marking Vector params as changed. --- natives.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/natives.cpp b/natives.cpp index 43ac838..a8dbed3 100644 --- a/natives.cpp +++ b/natives.cpp @@ -477,6 +477,7 @@ cell_t Native_SetParamVector(IPluginContext *pContext, const cell_t *params) pContext->LocalToPhysAddr(params[3], &buffer); paramStruct->newParams[index] = new Vector(sp_ctof(buffer[0]), sp_ctof(buffer[1]), sp_ctof(buffer[2])); + paramStruct->isChanged[index] = true; return 1; } }