39 |
// fully loaded, try to give back instrument again (see bug #113) |
// fully loaded, try to give back instrument again (see bug #113) |
40 |
InstrumentChangeCmd< ::sfz::Region, ::sfz::Instrument>& cmd = ChangeInstrument(NULL); |
InstrumentChangeCmd< ::sfz::Region, ::sfz::Instrument>& cmd = ChangeInstrument(NULL); |
41 |
if (cmd.pInstrument) { |
if (cmd.pInstrument) { |
42 |
InstrumentResourceManager* instrs = dynamic_cast<InstrumentResourceManager*>(pEngine->GetInstrumentManager()); |
Engine::instruments.HandBack(cmd.pInstrument, this); |
|
instrs->HandBack(cmd.pInstrument, this); |
|
43 |
} |
} |
44 |
/////// |
/////// |
45 |
} |
} |