PINK: fixed crash in Hokus Pokus

This commit is contained in:
whiterandrek 2018-05-13 13:09:42 +03:00 committed by Eugene Sandulenko
parent d11115a6aa
commit c1af0371ee

View File

@ -53,7 +53,7 @@ void SeqTimer::update() {
calculateUpdatesCount();
SupportingActor *actor = static_cast<SupportingActor*>(_sequencer->_page->findActor(_actor));
if (!_sequencer->findSequenceActorState(actor->getName())){
if (actor && !_sequencer->findSequenceActorState(actor->getName())){
actor->onTimerMessage();
}
}