5676 |
* @param index - index of the script slot on this instrument |
* @param index - index of the script slot on this instrument |
5677 |
* @see Script::Bypass |
* @see Script::Bypass |
5678 |
*/ |
*/ |
5679 |
bool Instrument::IsScriptSlotBypassed(uint index) { |
bool Instrument::IsScriptSlotBypassed(size_t index) { |
5680 |
if (index >= ScriptSlotCount()) return false; |
if (index >= ScriptSlotCount()) return false; |
5681 |
return pScriptRefs ? pScriptRefs->at(index).bypass |
return pScriptRefs ? pScriptRefs->at(index).bypass |
5682 |
: scriptPoolFileOffsets.at(index).bypass; |
: scriptPoolFileOffsets.at(index).bypass; |