Fix objections botching up single frame preanims, etc.
This commit is contained in:
parent
923548c997
commit
a028b8496e
@ -154,8 +154,8 @@ void AOCharMovie::play()
|
|||||||
play_frame_effect(frame);
|
play_frame_effect(frame);
|
||||||
if (max_frames <= 1)
|
if (max_frames <= 1)
|
||||||
{
|
{
|
||||||
play_once = true;
|
if (play_once)
|
||||||
ticker->start(60);
|
ticker->start(60);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
ticker->start(this->get_frame_delay(movie_delays[frame]));
|
ticker->start(this->get_frame_delay(movie_delays[frame]));
|
||||||
@ -316,6 +316,7 @@ void AOCharMovie::movie_ticker()
|
|||||||
|
|
||||||
void AOCharMovie::preanim_done()
|
void AOCharMovie::preanim_done()
|
||||||
{
|
{
|
||||||
|
ticker->stop();
|
||||||
preanim_timer->stop();
|
preanim_timer->stop();
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user