5742 |
* @param slot - script slot index of the variable to be retrieved |
* @param slot - script slot index of the variable to be retrieved |
5743 |
* @param variable - name of the 'patch' variable in that script |
* @param variable - name of the 'patch' variable in that script |
5744 |
*/ |
*/ |
5745 |
bool Instrument::IsScriptPatchVariableSet(int slot, String variable) { |
bool Instrument::IsScriptPatchVariableSet(size_t slot, String variable) { |
5746 |
if (variable.empty()) return false; |
if (variable.empty()) return false; |
5747 |
Script* script = GetScriptOfSlot(slot); |
Script* script = GetScriptOfSlot(slot); |
5748 |
if (!script) return false; |
if (!script) return false; |