5600 |
* @param index1 - index of the first script slot to swap |
* @param index1 - index of the first script slot to swap |
5601 |
* @param index2 - index of the second script slot to swap |
* @param index2 - index of the second script slot to swap |
5602 |
*/ |
*/ |
5603 |
void Instrument::SwapScriptSlots(uint index1, uint index2) { |
void Instrument::SwapScriptSlots(size_t index1, size_t index2) { |
5604 |
LoadScripts(); |
LoadScripts(); |
5605 |
if (index1 >= pScriptRefs->size() || index2 >= pScriptRefs->size()) |
if (index1 >= pScriptRefs->size() || index2 >= pScriptRefs->size()) |
5606 |
return; |
return; |