[main] avoid crash when no splash running

We haven't saved the passed deactivate trigger to the state,
so it won't be set there.  Just pull it directly.
This commit is contained in:
Scott James Remnant 2009-12-22 22:42:40 -05:00 committed by Ray Strode
parent 32ee3f6ab8
commit 19412c8a4d

View file

@ -745,8 +745,7 @@ on_deactivate (state_t *state,
}
else
{
ply_trigger_pull (state->deactivate_trigger, NULL);
state->deactivate_trigger = NULL;
ply_trigger_pull (deactivate_trigger, NULL);
}
}