]> git.tdb.fi Git - libs/demoscene.git/commitdiff
Validate one-off actions
authorMikko Rasa <tdb@tdb.fi>
Tue, 11 Jun 2019 22:05:22 +0000 (01:05 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 11 Jun 2019 22:05:41 +0000 (01:05 +0300)
source/sequencer.h

index d85b6f879c255db7ff352ef3f61869224ce3e235..cb80f8f05d87b9a7d55583c1e7f70080f4ac1e2f 100644 (file)
@@ -181,6 +181,7 @@ void Sequencer::SegmentLoader::action()
 {
        Msp::RefPtr<T> act = new T;
        load_sub(*act, demo);
+       act->validate();
        obj.add_action(*act, start_beat, end_beat);
        obj.anonymous_actions.push_back(act.release());
 }