Some changes

This commit is contained in:
Federico Cecchetto
2022-06-10 02:19:23 +02:00
parent a15cdd5949
commit 0df5ac4b60
4 changed files with 12 additions and 56 deletions

View File

@ -39,7 +39,7 @@ namespace game
return utils::hook::invoke<unsigned int>(func, inst);
}
VariableValue Scr_GetArrayIndexValue(scriptInstance_t inst, unsigned int name)
VariableValue Scr_GetArrayIndexValue(scriptInstance_t, unsigned int name)
{
VariableValue value{};
@ -65,7 +65,7 @@ namespace game
return value;
}
unsigned int Scr_GetSelf(scriptInstance_t inst, unsigned int threadId)
unsigned int Scr_GetSelf(scriptInstance_t, unsigned int threadId)
{
return game::scr_VarGlob->variableList[threadId + 1].u.o.u.self;
}