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